Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.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.Average,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Average,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Average",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.00507/0.00507, allocations: 102.6 kB / 15.73 MB, free: 6.492 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.001273/0.001273, allocations: 192 kB / 16.67 MB, free: 6.379 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 4.305 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 1.033/1.033, allocations: 143 MB / 433.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 67.89 kB / 0.5951 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4392/0.4409, allocations: 82.02 MB / 0.6752 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Average): time 0.003112/0.444, allocations: 1.535 MB / 0.6767 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004451/0.4445, allocations: 106.7 kB / 0.6768 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.997e-05/0.4446, allocations: 8.938 kB / 0.6768 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001805/0.4448, allocations: 9.141 kB / 0.6768 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.056e-05/0.4448, allocations: 4.969 kB / 0.6768 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003387/0.4452, allocations: 36.67 kB / 0.6768 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000144/0.4453, allocations: 49.67 kB / 0.6769 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001967/0.4455, allocations: 25.44 kB / 0.6769 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.725e-05/0.4456, allocations: 25.03 kB / 0.6769 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.4457, allocations: 32.48 kB / 0.6769 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/0.4458, allocations: 5.125 kB / 0.677 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.338e-05/0.4459, allocations: 11.23 kB / 0.677 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.598e-05/0.4459, allocations: 25.31 kB / 0.677 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.906e-05/0.446, allocations: 21.25 kB / 0.677 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002204/0.4462, allocations: 60.14 kB / 0.6771 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.4463, allocations: 0 / 0.6771 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.866e-06/0.4463, allocations: 0 / 0.6771 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.285e-06/0.4463, allocations: 4 kB / 0.6771 GB, free: 15.6 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007801/0.4471, allocations: 380 kB / 0.6774 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.683e-05/0.4471, allocations: 10.22 kB / 0.6774 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.194e-05/0.4472, allocations: 31.91 kB / 0.6775 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.503e-05/0.4472, allocations: 8.281 kB / 0.6775 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.4475, allocations: 195.5 kB / 0.6777 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.4475, allocations: 1.469 kB / 0.6777 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.553e-05/0.4476, allocations: 11.72 kB / 0.6777 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003551/0.4479, allocations: 88.03 kB / 0.6778 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.448, allocations: 5 kB / 0.6778 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.448, allocations: 4 kB / 0.6778 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.448, allocations: 1.156 kB / 0.6778 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003347/0.4483, allocations: 81.42 kB / 0.6779 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007461/0.4491, allocations: 327.4 kB / 0.6782 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/0.4493, allocations: 59.5 kB / 0.6782 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.4495, allocations: 48.56 kB / 0.6783 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.67e-05/0.4495, allocations: 1.406 kB / 0.6783 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.4495, allocations: 32.09 kB / 0.6783 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.4496, allocations: 0 / 0.6783 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0005377/0.4501, allocations: 142 kB / 0.6784 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/0.4501, allocations: 51.41 kB / 0.6785 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.4502, allocations: 116.1 kB / 0.6786 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.4503, allocations: 25.7 kB / 0.6786 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.529e-05/0.4503, allocations: 95.2 kB / 0.6787 GB, free: 14 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.4504, allocations: 13.02 kB / 0.6787 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-05/0.4504, allocations: 16.94 kB / 0.6787 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.4505, allocations: 320.8 kB / 0.679 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.4507, allocations: 37.45 kB / 0.6791 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.4508, allocations: 30.91 kB / 0.6791 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002535/0.4511, allocations: 82.27 kB / 0.6792 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4511, allocations: 1.031 kB / 0.6792 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003737/0.4515, allocations: 100.6 kB / 0.6793 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.4515, allocations: 5.469 kB / 0.6793 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.4515, allocations: 0 / 0.6793 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.4515, allocations: 0 / 0.6793 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.4517, allocations: 18.31 kB / 0.6793 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.4517, allocations: 13.23 kB / 0.6793 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.805e-05/0.4518, allocations: 14.42 kB / 0.6793 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.223e-05/0.4518, allocations: 1.094 kB / 0.6793 GB, free: 13.48 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 (3): * Single equations (assignments): 3 * 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.702e-05/0.4519, allocations: 118 kB / 0.6794 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.705e-05/0.4519, allocations: 2.188 kB / 0.6794 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003847/0.4523, allocations: 115.8 kB / 0.6796 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.4523, allocations: 1.344 kB / 0.6796 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.4524, allocations: 0 / 0.6796 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.4524, allocations: 1.062 kB / 0.6796 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002825/0.4526, allocations: 181.7 kB / 0.6797 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4527, allocations: 0 / 0.6797 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.4528, allocations: 18.66 kB / 0.6798 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.4528, allocations: 1.312 kB / 0.6798 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.4528, allocations: 3.938 kB / 0.6798 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.4528, allocations: 9.031 kB / 0.6798 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4528, allocations: 0 / 0.6798 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003706/0.4532, allocations: 203.2 kB / 0.68 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.742e-05/0.4533, allocations: 83.17 kB / 0.68 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.4533, allocations: 1.062 kB / 0.68 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.4534, allocations: 14.41 kB / 0.6801 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.912e-05/0.4534, allocations: 14.12 kB / 0.6801 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.4535, allocations: 5.062 kB / 0.6801 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.715e-05/0.4535, allocations: 88.47 kB / 0.6802 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4535, allocations: 0 / 0.6802 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002275/0.4537, allocations: 12.78 kB / 0.6802 GB, free: 12.67 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 (3): * Single equations (assignments): 3 * 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.00067/0.4544, allocations: 0.7375 MB / 0.6809 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000324/0.4548, allocations: 78.92 kB / 0.681 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.4548, allocations: 0 / 0.681 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.4549, allocations: 39.73 kB / 0.681 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.4552, allocations: 6.562 kB / 0.681 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/0.457, allocations: 1.44 MB / 0.6824 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002352/0.4572, allocations: 0.6887 MB / 0.6831 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.374e-05/0.4573, allocations: 8.391 kB / 0.6831 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.085e-05/0.4573, allocations: 17.5 kB / 0.6831 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.4573, allocations: 4 kB / 0.6831 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01938/0.4767, allocations: 1.846 MB / 0.6849 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.552/8.029, allocations: 10.38 kB / 0.6849 GB, free: 8.855 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Average_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Average.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe 2>&1)