Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007073/0.007072, allocations: 101 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 188.3 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9558/0.9558, allocations: 143 MB / 433.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 63.89 kB / 0.5951 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4143/0.4156, allocations: 82.03 MB / 0.6752 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial): time 0.002143/0.4178, allocations: 1.436 MB / 0.6766 GB, free: 88 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002959/0.4181, allocations: 92.91 kB / 0.6767 GB, free: 12 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.953e-05/0.4182, allocations: 0 / 0.6767 GB, free: 12 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.852e-05/0.4182, allocations: 1 kB / 0.6767 GB, free: 12 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.37e-05/0.4183, allocations: 5.094 kB / 0.6767 GB, free: 8 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000266/0.4185, allocations: 22.34 kB / 0.6767 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.284e-05/0.4186, allocations: 26.2 kB / 0.6767 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.986e-05/0.4187, allocations: 10.95 kB / 0.6767 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.118e-05/0.4188, allocations: 10.59 kB / 0.6767 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.042e-05/0.4188, allocations: 11.64 kB / 0.6767 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.4188, allocations: 2.656 kB / 0.6767 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.616e-05/0.4189, allocations: 20.42 kB / 0.6768 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.596e-05/0.419, allocations: 10.17 kB / 0.6768 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.737e-05/0.419, allocations: 10.44 kB / 0.6768 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.4191, allocations: 38.28 kB / 0.6768 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.4191, allocations: 0.8438 kB / 0.6768 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.112e-06/0.4192, allocations: 0 / 0.6768 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.4192, allocations: 0 / 0.6768 GB, free: 15.9 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004422/0.4196, allocations: 349 kB / 0.6772 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.4197, allocations: 10.22 kB / 0.6772 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.444e-05/0.4197, allocations: 30.75 kB / 0.6772 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.196e-05/0.4197, allocations: 3.688 kB / 0.6772 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.4199, allocations: 173.7 kB / 0.6774 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.4199, allocations: 384 / 0.6774 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.824e-06/0.4199, allocations: 1.938 kB / 0.6774 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.4201, allocations: 55.36 kB / 0.6774 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.4201, allocations: 7.938 kB / 0.6774 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.243e-06/0.4201, allocations: 3.938 kB / 0.6774 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.4201, allocations: 1.219 kB / 0.6774 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001594/0.4203, allocations: 37.78 kB / 0.6775 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003311/0.4206, allocations: 250.6 kB / 0.6777 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.4208, allocations: 50.11 kB / 0.6778 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.946e-05/0.4209, allocations: 23.09 kB / 0.6778 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.884e-05/0.4209, allocations: 6.156 kB / 0.6778 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.421, allocations: 35.72 kB / 0.6778 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.421, allocations: 0 / 0.6778 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003618/0.4213, allocations: 89.77 kB / 0.6779 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.4214, allocations: 51.41 kB / 0.6779 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.4215, allocations: 106.8 kB / 0.6781 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.4215, allocations: 25.7 kB / 0.6781 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.908e-05/0.4216, allocations: 86.42 kB / 0.6782 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.4216, allocations: 7.891 kB / 0.6782 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.17e-05/0.4216, allocations: 16.84 kB / 0.6782 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.4218, allocations: 316 kB / 0.6785 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.575e-05/0.4219, allocations: 18.27 kB / 0.6785 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.004e-05/0.422, allocations: 26.09 kB / 0.6785 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.4221, allocations: 39.42 kB / 0.6786 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.4221, allocations: 3.938 kB / 0.6786 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001904/0.4223, allocations: 75.41 kB / 0.6786 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.4223, allocations: 5.375 kB / 0.6786 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.4224, allocations: 0 / 0.6786 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.4224, allocations: 0 / 0.6786 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.07e-05/0.4225, allocations: 10.64 kB / 0.6787 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.4225, allocations: 0 / 0.6787 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.592e-05/0.4225, allocations: 11.95 kB / 0.6787 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.4225, allocations: 1.125 kB / 0.6787 GB, free: 14.02 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.381e-05/0.4226, allocations: 120.5 kB / 0.6788 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/0.4227, allocations: 1.312 kB / 0.6788 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002283/0.4229, allocations: 73.5 kB / 0.6789 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.4229, allocations: 0.9688 kB / 0.6789 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4229, allocations: 0 / 0.6789 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.4229, allocations: 4.984 kB / 0.6789 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.4231, allocations: 160.7 kB / 0.679 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4231, allocations: 3.938 kB / 0.679 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.608e-05/0.4232, allocations: 14.23 kB / 0.679 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.4232, allocations: 0 / 0.679 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.4232, allocations: 1.062 kB / 0.679 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4232, allocations: 0 / 0.679 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.4232, allocations: 1.312 kB / 0.679 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002334/0.4235, allocations: 173.2 kB / 0.6792 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.945e-05/0.4235, allocations: 82.14 kB / 0.6793 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.4235, allocations: 1 kB / 0.6793 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.109e-05/0.4236, allocations: 7.734 kB / 0.6793 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-05/0.4236, allocations: 5.328 kB / 0.6793 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.4237, allocations: 5.219 kB / 0.6793 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.845e-05/0.4237, allocations: 88.73 kB / 0.6794 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4237, allocations: 0 / 0.6794 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000241/0.424, allocations: 7.219 kB / 0.6794 GB, free: 13.27 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006376/0.4246, allocations: 0.707 MB / 0.6801 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002136/0.4248, allocations: 44.28 kB / 0.6801 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4249, allocations: 0 / 0.6801 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.183e-05/0.4249, allocations: 21.16 kB / 0.6801 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.4252, allocations: 10.16 kB / 0.6801 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004428/0.4257, allocations: 143.4 kB / 0.6803 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.426, allocations: 0.6867 MB / 0.681 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.56e-05/0.426, allocations: 9.547 kB / 0.681 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.096e-05/0.426, allocations: 16.86 kB / 0.681 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.426, allocations: 0 / 0.681 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02056/0.4466, allocations: 1.432 MB / 0.6824 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.431/7.877, allocations: 6.25 kB / 0.6824 GB, free: 10.86 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Polynomial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.pipe 2>&1)