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.007187/0.007187, allocations: 101 kB / 15.73 MB, free: 6.062 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.001888/0.001888, allocations: 195.2 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.501/1.501, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002539/0.002539, allocations: 289.8 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.026/1.026, allocations: 169.3 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002747/0.002747, allocations: 99.84 kB / 0.681 GB, free: 7.484 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4193/0.4221, allocations: 86.97 MB / 0.7659 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example5): time 0.001632/0.4238, allocations: 0.5266 MB / 0.7664 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001673/0.424, allocations: 39.88 kB / 0.7664 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.775e-05/0.424, allocations: 0 / 0.7664 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.826e-05/0.4241, allocations: 3.938 kB / 0.7664 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001394/0.4242, allocations: 12 kB / 0.7665 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 4.751e-05/0.4243, allocations: 7.922 kB / 0.7665 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.632e-05/0.4243, allocations: 11.92 kB / 0.7665 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.321e-05/0.4244, allocations: 4 kB / 0.7665 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.199e-05/0.4244, allocations: 4 kB / 0.7665 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.505e-05/0.4245, allocations: 7.984 kB / 0.7665 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.4245, allocations: 4 kB / 0.7665 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.174e-06/0.4245, allocations: 0 / 0.7665 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.53e-05/0.4246, allocations: 3.938 kB / 0.7665 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.582e-05/0.4246, allocations: 7.984 kB / 0.7665 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 7.075e-05/0.4247, allocations: 23.72 kB / 0.7665 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.4247, allocations: 0 / 0.7665 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.372e-06/0.4247, allocations: 0 / 0.7665 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.4247, allocations: 0 / 0.7665 GB, free: 3.246 MB / 0.5294 GB 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.0004608/0.4252, allocations: 329.2 kB / 0.7668 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.4252, allocations: 12.02 kB / 0.7669 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.705e-05/0.4253, allocations: 30.75 kB / 0.7669 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.443e-05/0.4253, allocations: 8.891 kB / 0.7669 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.4255, allocations: 171.9 kB / 0.7671 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.4255, allocations: 4.375 kB / 0.7671 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.4256, allocations: 384 / 0.7671 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.16e-05/0.4256, allocations: 34.25 kB / 0.7671 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.4257, allocations: 3.938 kB / 0.7671 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.733e-06/0.4257, allocations: 0 / 0.7671 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.4257, allocations: 0 / 0.7671 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.379e-05/0.4257, allocations: 7.984 kB / 0.7671 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001817/0.4259, allocations: 153.7 kB / 0.7673 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.137e-05/0.426, allocations: 26.52 kB / 0.7673 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.982e-05/0.426, allocations: 12.86 kB / 0.7673 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.969e-06/0.426, allocations: 0 / 0.7673 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.426, allocations: 34.56 kB / 0.7673 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 2.495e-06/0.426, allocations: 3.984 kB / 0.7673 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001401/0.4262, allocations: 53.5 kB / 0.7674 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.4262, allocations: 55.41 kB / 0.7674 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.4263, allocations: 113.9 kB / 0.7675 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.4264, allocations: 25.7 kB / 0.7676 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.628e-05/0.4264, allocations: 88.14 kB / 0.7676 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.722e-05/0.4264, allocations: 0 / 0.7676 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/0.4265, allocations: 13.72 kB / 0.7677 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.4266, allocations: 314.8 kB / 0.768 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.776e-05/0.4266, allocations: 7.984 kB / 0.768 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.776e-05/0.4267, allocations: 17.72 kB / 0.768 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.194e-05/0.4267, allocations: 17.7 kB / 0.768 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.4267, allocations: 7.938 kB / 0.768 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.721e-05/0.4268, allocations: 49.64 kB / 0.7681 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.4268, allocations: 7.938 kB / 0.7681 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.4268, allocations: 0 / 0.7681 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.4269, allocations: 0 / 0.7681 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.679e-05/0.4269, allocations: 8.125 kB / 0.7681 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.4269, allocations: 256 / 0.7681 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.963e-05/0.427, allocations: 4 kB / 0.7681 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.427, allocations: 7.938 kB / 0.7681 GB, free: 1.414 MB / 0.5294 GB 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 8e-05/0.4271, allocations: 113.8 kB / 0.7682 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.155e-05/0.4271, allocations: 7.938 kB / 0.7682 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.711e-05/0.4272, allocations: 45.22 kB / 0.7682 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.4272, allocations: 0 / 0.7682 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.4272, allocations: 4.031 kB / 0.7682 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.4272, allocations: 0 / 0.7682 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/0.4273, allocations: 153.7 kB / 0.7684 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.4274, allocations: 0 / 0.7684 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.942e-05/0.4274, allocations: 7.984 kB / 0.7684 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.4274, allocations: 3.938 kB / 0.7684 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.4274, allocations: 0 / 0.7684 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.738e-06/0.4274, allocations: 4 kB / 0.7684 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.4274, allocations: 3.938 kB / 0.7684 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001362/0.4276, allocations: 89 kB / 0.7685 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.52e-05/0.4277, allocations: 81.14 kB / 0.7686 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.4277, allocations: 3.938 kB / 0.7686 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.281e-05/0.4277, allocations: 0 / 0.7686 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.57e-05/0.4277, allocations: 0 / 0.7686 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-06/0.4277, allocations: 0 / 0.7686 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.631e-05/0.4278, allocations: 91.27 kB / 0.7687 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4278, allocations: 0 / 0.7687 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002495/0.428, allocations: 4 kB / 0.7687 GB, free: 0.7109 MB / 0.5294 GB 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.0004201/0.4285, allocations: 0.6241 MB / 0.7693 GB, free: 60 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 8.335e-05/0.4286, allocations: 15.98 kB / 0.7693 GB, free: 44 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.4286, allocations: 0 / 0.7693 GB, free: 44 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.492e-05/0.4286, allocations: 4.219 kB / 0.7693 GB, free: 40 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001789/0.4288, allocations: 14.66 kB / 0.7693 GB, free: 28 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.4299, allocations: 1.151 MB / 0.7704 GB, free: 14.79 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.4302, allocations: 0.6807 MB / 0.7711 GB, free: 14.08 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.931e-05/0.4302, allocations: 3.984 kB / 0.7711 GB, free: 14.08 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.664e-05/0.4303, allocations: 11.44 kB / 0.7711 GB, free: 14.07 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.4303, allocations: 0 / 0.7711 GB, free: 14.07 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3717/0.802, allocations: 1.197 MB / 0.7723 GB, free: 12.96 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.57, allocations: 13.45 kB / 0.7723 GB, free: 12.96 MB / 0.545 GB (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)