Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Examples.Performance.Example5,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example5,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example5",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.001017/0.001017, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001009/0.001009, allocations: 199.2 kB / 16.14 MB, free: 6.715 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.196/1.196, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001875/0.001875, allocations: 276.2 kB / 290.2 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8653/0.8653, allocations: 169.2 MB / 0.4977 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 94.27 kB / 0.5946 GB, free: 28.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1203, allocations: 86.99 MB / 0.6795 GB, free: 1.082 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example5): time 0.001397/0.1217, allocations: 0.5789 MB / 0.6801 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001245/0.1218, allocations: 39.81 kB / 0.6801 GB, free: 484 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.175e-05/0.1219, allocations: 4 kB / 0.6801 GB, free: 480 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.226e-05/0.1219, allocations: 0 / 0.6801 GB, free: 480 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000109/0.122, allocations: 7.938 kB / 0.6802 GB, free: 472 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.208e-05/0.1221, allocations: 0 / 0.6802 GB, free: 472 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 3.702e-05/0.1221, allocations: 15.98 kB / 0.6802 GB, free: 456 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.432e-05/0.1222, allocations: 3.984 kB / 0.6802 GB, free: 452 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.052e-05/0.1222, allocations: 7.938 kB / 0.6802 GB, free: 444 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.247e-05/0.1223, allocations: 4 kB / 0.6802 GB, free: 440 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.1223, allocations: 7.938 kB / 0.6802 GB, free: 432 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.185e-06/0.1223, allocations: 0 / 0.6802 GB, free: 432 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.657e-05/0.1223, allocations: 7.984 kB / 0.6802 GB, free: 424 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.162e-05/0.1224, allocations: 7.938 kB / 0.6802 GB, free: 416 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 3.898e-05/0.1224, allocations: 15.91 kB / 0.6802 GB, free: 400 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.1224, allocations: 0 / 0.6802 GB, free: 400 kB / 478.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.1224, allocations: 0 / 0.6802 GB, free: 400 kB / 478.1 MB Notification: Performance of Transformations before backend: time 2.876e-06/0.1224, allocations: 0 / 0.6802 GB, free: 400 kB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003339/0.1228, allocations: 335.7 kB / 0.6805 GB, free: 12 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.909e-05/0.1228, allocations: 8.031 kB / 0.6806 GB, free: 4 kB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.846e-05/0.1228, allocations: 38.75 kB / 0.6806 GB, free: 15.96 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.748e-05/0.1229, allocations: 0.9375 kB / 0.6806 GB, free: 15.96 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.123, allocations: 172.3 kB / 0.6808 GB, free: 15.75 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.231e-06/0.123, allocations: 384 / 0.6808 GB, free: 15.75 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.123, allocations: 4.375 kB / 0.6808 GB, free: 15.75 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.612e-05/0.1231, allocations: 30.25 kB / 0.6808 GB, free: 15.71 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.1231, allocations: 3.938 kB / 0.6808 GB, free: 15.71 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.262e-06/0.1231, allocations: 3.984 kB / 0.6808 GB, free: 15.7 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-06/0.1231, allocations: 4 kB / 0.6808 GB, free: 15.7 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.647e-05/0.1231, allocations: 11.94 kB / 0.6808 GB, free: 15.69 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001243/0.1233, allocations: 149.7 kB / 0.681 GB, free: 15.49 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.472e-05/0.1233, allocations: 26.61 kB / 0.681 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.645e-05/0.1233, allocations: 12.91 kB / 0.681 GB, free: 15.44 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.888e-06/0.1233, allocations: 0 / 0.681 GB, free: 15.44 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.1234, allocations: 30.56 kB / 0.681 GB, free: 15.4 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 7.22e-07/0.1234, allocations: 0 / 0.681 GB, free: 15.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001067/0.1235, allocations: 53.56 kB / 0.6811 GB, free: 15.34 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.406e-05/0.1235, allocations: 51.41 kB / 0.6811 GB, free: 15.28 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.347e-05/0.1236, allocations: 113.8 kB / 0.6812 GB, free: 15.16 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.1236, allocations: 25.7 kB / 0.6813 GB, free: 15.13 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.006e-05/0.1237, allocations: 80.14 kB / 0.6813 GB, free: 15.05 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.381e-05/0.1237, allocations: 0 / 0.6813 GB, free: 15.05 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-05/0.1237, allocations: 29.55 kB / 0.6814 GB, free: 15.01 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.519e-05/0.1238, allocations: 318.9 kB / 0.6817 GB, free: 14.69 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.298e-05/0.1238, allocations: 4 kB / 0.6817 GB, free: 14.69 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.019e-05/0.1239, allocations: 17.7 kB / 0.6817 GB, free: 14.66 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.547e-05/0.1239, allocations: 25.66 kB / 0.6817 GB, free: 14.63 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.1239, allocations: 0 / 0.6817 GB, free: 14.63 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.132e-05/0.124, allocations: 41.81 kB / 0.6817 GB, free: 14.59 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.124, allocations: 11.94 kB / 0.6818 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.124, allocations: 4.188 kB / 0.6818 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.494e-06/0.124, allocations: 0 / 0.6818 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.022e-05/0.1241, allocations: 11.98 kB / 0.6818 GB, free: 14.56 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.1241, allocations: 0 / 0.6818 GB, free: 14.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.996e-05/0.1241, allocations: 4 kB / 0.6818 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.1241, allocations: 4 kB / 0.6818 GB, free: 14.55 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 5.977e-05/0.1242, allocations: 110.5 kB / 0.6819 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.446e-06/0.1242, allocations: 3.938 kB / 0.6819 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.974e-05/0.1243, allocations: 57.2 kB / 0.6819 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.1243, allocations: 0 / 0.6819 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.1243, allocations: 0 / 0.6819 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-06/0.1243, allocations: 0 / 0.6819 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.209e-05/0.1244, allocations: 153.7 kB / 0.6821 GB, free: 14.17 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1244, allocations: 3.938 kB / 0.6821 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.129e-05/0.1244, allocations: 4 kB / 0.6821 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.1245, allocations: 3.938 kB / 0.6821 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.1245, allocations: 0 / 0.6821 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.1245, allocations: 4 kB / 0.6821 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1245, allocations: 4.031 kB / 0.6821 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.588e-05/0.1246, allocations: 77.02 kB / 0.6822 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.167e-05/0.1246, allocations: 81.14 kB / 0.6823 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.1246, allocations: 7.922 kB / 0.6823 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.899e-05/0.1247, allocations: 0 / 0.6823 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.797e-06/0.1247, allocations: 0 / 0.6823 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.1247, allocations: 4 kB / 0.6823 GB, free: 13.95 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.857e-05/0.1247, allocations: 91.36 kB / 0.6824 GB, free: 13.86 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1247, allocations: 0 / 0.6824 GB, free: 13.86 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001639/0.1249, allocations: 4 kB / 0.6824 GB, free: 13.85 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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.0003109/0.1252, allocations: 0.6162 MB / 0.683 GB, free: 13.21 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.573e-05/0.1253, allocations: 16.09 kB / 0.683 GB, free: 13.19 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.1253, allocations: 0 / 0.683 GB, free: 13.19 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.566e-05/0.1253, allocations: 15.92 kB / 0.683 GB, free: 13.18 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001195/0.1254, allocations: 3.938 kB / 0.683 GB, free: 13.17 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007566/0.1262, allocations: 1.159 MB / 0.6841 GB, free: 11.93 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002034/0.1264, allocations: 0.6848 MB / 0.6848 GB, free: 11.22 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.182e-05/0.1264, allocations: 0 / 0.6848 GB, free: 11.22 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.391e-05/0.1265, allocations: 7.438 kB / 0.6848 GB, free: 11.21 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1265, allocations: 4 kB / 0.6848 GB, free: 11.21 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3629/0.4893, allocations: 1.072 MB / 0.6859 GB, free: 10.24 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002405/0.4896, allocations: 199.9 kB / 0.686 GB, free: 9.988 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.302/2.792, allocations: 0 / 0.686 GB, free: 9.988 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example5.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe 2>&1)