Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.693/1.693, allocations: 288.2 MB / 303.2 MB, free: 8.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001051/0.001051, allocations: 181 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.306/1.306, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008499/0.00085, allocations: 94.86 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004045/0.0004046, allocations: 14.48 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2122, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.5872/0.7995, allocations: 136.3 MB / 1.113 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.004945/0.8045, allocations: 2.826 MB / 1.115 GB, free: 1.699 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007123/0.8053, allocations: 10.53 kB / 1.115 GB, free: 1.695 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0008019/0.8061, allocations: 218 kB / 1.116 GB, free: 1.652 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002753/0.8088, allocations: 0.7278 MB / 1.116 GB, free: 1.613 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001663/0.8105, allocations: 418.8 kB / 1.117 GB, free: 1.594 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00116/0.8117, allocations: 0.5418 MB / 1.117 GB, free: 1.57 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003367/0.812, allocations: 189.3 kB / 1.117 GB, free: 1.539 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000503/0.8125, allocations: 255.9 kB / 1.118 GB, free: 1.496 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003561/0.8129, allocations: 183.2 kB / 1.118 GB, free: 1.457 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 4.405e-05/0.813, allocations: 12.34 kB / 1.118 GB, free: 1.457 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008566/0.8138, allocations: 287.4 kB / 1.118 GB, free: 1.441 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.814, allocations: 98.14 kB / 1.118 GB, free: 1.43 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.8141, allocations: 100.6 kB / 1.118 GB, free: 1.387 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0005709/0.8146, allocations: 473.5 kB / 1.119 GB, free: 1.352 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.8147, allocations: 1.062 kB / 1.119 GB, free: 1.352 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.004e-06/0.8147, allocations: 3.938 kB / 1.119 GB, free: 1.348 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.8147, allocations: 0 / 1.119 GB, free: 1.348 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001118/0.8158, allocations: 0.6367 MB / 1.119 GB, free: 16.86 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.8158, allocations: 13.14 kB / 1.119 GB, free: 16.86 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.818e-05/0.816, allocations: 60.97 kB / 1.119 GB, free: 16.82 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009628/0.8169, allocations: 137.9 kB / 1.12 GB, free: 16.79 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005587/0.8175, allocations: 389.2 kB / 1.12 GB, free: 16.55 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.8175, allocations: 19.66 kB / 1.12 GB, free: 16.55 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.455e-05/0.8176, allocations: 23.34 kB / 1.12 GB, free: 16.55 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004177/0.818, allocations: 275.8 kB / 1.12 GB, free: 16.49 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.818, allocations: 1.125 kB / 1.12 GB, free: 16.49 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.625e-05/0.8181, allocations: 14.38 kB / 1.12 GB, free: 16.49 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.23e-05/0.8181, allocations: 13.53 kB / 1.12 GB, free: 16.49 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003032/0.8184, allocations: 192 kB / 1.12 GB, free: 16.48 MB / 0.698 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001553/0.82, allocations: 1.32 MB / 1.122 GB, free: 15.63 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000344/0.8203, allocations: 195 kB / 1.122 GB, free: 15.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.8203, allocations: 2.75 kB / 1.122 GB, free: 15.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.8204, allocations: 36.89 kB / 1.122 GB, free: 15.56 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 1.944e-06/0.8204, allocations: 5.562 kB / 1.122 GB, free: 15.56 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.0008783/0.8213, allocations: 395.5 kB / 1.122 GB, free: 15.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.8213, allocations: 56.08 kB / 1.122 GB, free: 15.34 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002873/0.8216, allocations: 302 kB / 1.123 GB, free: 15.22 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.8216, allocations: 31.27 kB / 1.123 GB, free: 15.19 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.8217, allocations: 185.4 kB / 1.123 GB, free: 15.07 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.36e-05/0.8218, allocations: 70.02 kB / 1.123 GB, free: 15.03 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.699e-06/0.8218, allocations: 6.906 kB / 1.123 GB, free: 15.03 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.612e-05/0.8219, allocations: 340 kB / 1.123 GB, free: 14.71 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.896e-05/0.822, allocations: 63.89 kB / 1.123 GB, free: 14.71 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.8221, allocations: 126.2 kB / 1.123 GB, free: 14.64 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.8223, allocations: 78.22 kB / 1.124 GB, free: 14.64 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.8223, allocations: 1.406 kB / 1.124 GB, free: 14.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003274/0.8226, allocations: 247.3 kB / 1.124 GB, free: 14.58 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.8226, allocations: 5.406 kB / 1.124 GB, free: 14.58 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.8227, allocations: 2.531 kB / 1.124 GB, free: 14.58 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.8227, allocations: 6.219 kB / 1.124 GB, free: 14.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.8229, allocations: 45.55 kB / 1.124 GB, free: 14.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.8229, allocations: 6.688 kB / 1.124 GB, free: 14.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003081/0.8232, allocations: 24.91 kB / 1.124 GB, free: 14.56 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.8232, allocations: 9.125 kB / 1.124 GB, free: 14.56 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001484/0.8234, allocations: 158.3 kB / 1.124 GB, free: 14.44 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.566e-05/0.8234, allocations: 30.59 kB / 1.124 GB, free: 14.43 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.2e-05/0.8235, allocations: 37.05 kB / 1.124 GB, free: 14.42 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.8235, allocations: 1.469 kB / 1.124 GB, free: 14.42 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.8235, allocations: 1.188 kB / 1.124 GB, free: 14.42 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.8236, allocations: 2.156 kB / 1.124 GB, free: 14.42 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005161/0.8241, allocations: 417.7 kB / 1.125 GB, free: 14.22 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.8241, allocations: 5.859 kB / 1.125 GB, free: 14.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001937/0.8243, allocations: 31.86 kB / 1.125 GB, free: 14.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002106/0.8245, allocations: 43.16 kB / 1.125 GB, free: 14.21 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/0.8245, allocations: 4.281 kB / 1.125 GB, free: 14.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001068/0.8256, allocations: 1.414 MB / 1.126 GB, free: 12.94 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.8256, allocations: 3.984 kB / 1.126 GB, free: 12.94 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004975/0.8261, allocations: 421.9 kB / 1.126 GB, free: 12.77 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/0.8263, allocations: 134 kB / 1.127 GB, free: 12.66 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.97e-05/0.8263, allocations: 8.828 kB / 1.127 GB, free: 12.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002584/0.8266, allocations: 5.969 kB / 1.127 GB, free: 12.66 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.1e-05/0.8266, allocations: 18.56 kB / 1.127 GB, free: 12.65 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.8266, allocations: 9.062 kB / 1.127 GB, free: 12.65 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000181/0.8268, allocations: 208.2 kB / 1.127 GB, free: 12.57 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8268, allocations: 2.781 kB / 1.127 GB, free: 12.57 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004027/0.8273, allocations: 107.9 kB / 1.127 GB, free: 12.56 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1]) * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008215/0.8281, allocations: 0.9671 MB / 1.128 GB, free: 11.86 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002451/0.8283, allocations: 163.8 kB / 1.128 GB, free: 11.85 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.8284, allocations: 2.75 kB / 1.128 GB, free: 11.85 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002742/0.8286, allocations: 198.4 kB / 1.128 GB, free: 11.73 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008329/0.8295, allocations: 191.5 kB / 1.128 GB, free: 11.71 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002808/0.8323, allocations: 2.866 MB / 1.131 GB, free: 9.938 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.8326, allocations: 0.806 MB / 1.132 GB, free: 9.234 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003011/0.8329, allocations: 60.86 kB / 1.132 GB, free: 9.215 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.8331, allocations: 101 kB / 1.132 GB, free: 9.207 MB / 0.698 GB Notification: Performance of SimCode: time 5.92e-07/0.8331, allocations: 4 kB / 1.132 GB, free: 9.203 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02069/0.8538, allocations: 8.804 MB / 1.141 GB, free: 5.453 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001894/0.854, allocations: 218 kB / 1.141 GB, free: 5.207 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.185/3.039, allocations: 4.812 kB / 1.141 GB, free: 5.203 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)