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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.007575/0.007575, allocations: 96.64 kB / 15.73 MB, free: 6.055 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.001684/0.001684, allocations: 195.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.51/1.51, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.027/1.027, allocations: 143.3 MB / 433.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 67.89 kB / 0.5953 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4024/0.4043, allocations: 82.02 MB / 0.6754 GB, free: 1 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Average): time 0.002511/0.4068, allocations: 1.528 MB / 0.6769 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003426/0.4072, allocations: 118.3 kB / 0.677 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.109e-05/0.4073, allocations: 5.844 kB / 0.677 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001189/0.4074, allocations: 7.938 kB / 0.677 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.083e-05/0.4074, allocations: 10.25 kB / 0.677 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002449/0.4077, allocations: 31.58 kB / 0.6771 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.4078, allocations: 50.98 kB / 0.6771 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.4079, allocations: 27.36 kB / 0.6772 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.726e-05/0.408, allocations: 22.02 kB / 0.6772 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.668e-05/0.4081, allocations: 36.97 kB / 0.6772 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.4081, allocations: 8.594 kB / 0.6772 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 5.737e-05/0.4082, allocations: 7.938 kB / 0.6772 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.07e-05/0.4082, allocations: 20.39 kB / 0.6772 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.586e-05/0.4083, allocations: 25.45 kB / 0.6773 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.4084, allocations: 58.78 kB / 0.6773 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.4084, allocations: 1.25 kB / 0.6773 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.794e-06/0.4084, allocations: 0 / 0.6773 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.4085, allocations: 0 / 0.6773 GB, free: 15.51 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.0006015/0.4091, allocations: 386.2 kB / 0.6777 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.4091, allocations: 8.906 kB / 0.6777 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.737e-05/0.4092, allocations: 31.69 kB / 0.6777 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.894e-05/0.4092, allocations: 4.219 kB / 0.6777 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.4094, allocations: 187.5 kB / 0.6779 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.4094, allocations: 10.77 kB / 0.6779 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.4094, allocations: 6.469 kB / 0.6779 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002916/0.4097, allocations: 93.69 kB / 0.678 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.4097, allocations: 3.938 kB / 0.678 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.4098, allocations: 0 / 0.678 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.4098, allocations: 1.125 kB / 0.678 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003297/0.4101, allocations: 78.3 kB / 0.6781 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005554/0.4107, allocations: 338.4 kB / 0.6784 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002159/0.4109, allocations: 59.09 kB / 0.6785 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002061/0.4111, allocations: 40.42 kB / 0.6785 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.204e-05/0.4112, allocations: 2 kB / 0.6785 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.176e-05/0.4112, allocations: 39.58 kB / 0.6786 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.4112, allocations: 0 / 0.6786 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0005674/0.4118, allocations: 138.2 kB / 0.6787 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.4118, allocations: 52.44 kB / 0.6787 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.4119, allocations: 115.6 kB / 0.6788 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.412, allocations: 29.7 kB / 0.6789 GB, free: 14 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.352e-05/0.412, allocations: 98.98 kB / 0.679 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-05/0.4121, allocations: 6.266 kB / 0.679 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.132e-05/0.4121, allocations: 16.16 kB / 0.679 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.4123, allocations: 324.6 kB / 0.6793 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.4125, allocations: 38.56 kB / 0.6793 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000173/0.4127, allocations: 34.39 kB / 0.6794 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002964/0.413, allocations: 75.06 kB / 0.6794 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.413, allocations: 0 / 0.6794 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003438/0.4133, allocations: 104.3 kB / 0.6795 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.4134, allocations: 9.484 kB / 0.6796 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.4134, allocations: 0 / 0.6796 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.4134, allocations: 1.094 kB / 0.6796 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.4135, allocations: 13.64 kB / 0.6796 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.4135, allocations: 2.156 kB / 0.6796 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.376e-05/0.4136, allocations: 13.61 kB / 0.6796 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.4137, allocations: 9 kB / 0.6796 GB, free: 13.39 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 0.0001031/0.4138, allocations: 122.8 kB / 0.6797 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.4138, allocations: 2.125 kB / 0.6797 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003987/0.4142, allocations: 112.8 kB / 0.6798 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/0.4142, allocations: 0 / 0.6798 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.4142, allocations: 4 kB / 0.6798 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.4142, allocations: 1.531 kB / 0.6798 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002113/0.4145, allocations: 181.7 kB / 0.68 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4145, allocations: 1.094 kB / 0.68 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.955e-05/0.4146, allocations: 17.62 kB / 0.68 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.4146, allocations: 1.469 kB / 0.68 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.4146, allocations: 3.984 kB / 0.68 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.4146, allocations: 1.25 kB / 0.68 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.4146, allocations: 3.938 kB / 0.68 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004129/0.415, allocations: 202.9 kB / 0.6802 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.727e-05/0.4151, allocations: 87.06 kB / 0.6803 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.4151, allocations: 1.25 kB / 0.6803 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.4152, allocations: 10.02 kB / 0.6803 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.177e-05/0.4153, allocations: 9.859 kB / 0.6803 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.4153, allocations: 6.156 kB / 0.6803 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.381e-05/0.4154, allocations: 95.91 kB / 0.6804 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.01e-07/0.4154, allocations: 0 / 0.6804 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002317/0.4156, allocations: 12.84 kB / 0.6804 GB, free: 12.57 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.0008135/0.4164, allocations: 0.7369 MB / 0.6811 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003751/0.4168, allocations: 75.64 kB / 0.6812 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4168, allocations: 0 / 0.6812 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001681/0.417, allocations: 43.52 kB / 0.6813 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.4173, allocations: 10.97 kB / 0.6813 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001988/0.4193, allocations: 1.438 MB / 0.6827 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/0.4197, allocations: 0.6881 MB / 0.6833 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.429e-05/0.4198, allocations: 9.109 kB / 0.6834 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.317e-05/0.4198, allocations: 16.69 kB / 0.6834 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.4198, allocations: 1.219 kB / 0.6834 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02258/0.4424, allocations: 1.833 MB / 0.6852 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.828/8.271, allocations: 5.953 kB / 0.6852 GB, free: 8.766 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)