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.0009875/0.0009874, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001028/0.001028, allocations: 196.8 kB / 16.26 MB, free: 6.621 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.236/1.236, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001941/0.001941, allocations: 278.7 kB / 290.3 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8694/0.8694, allocations: 169.2 MB / 0.4978 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 97.77 kB / 0.5948 GB, free: 28.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1295, allocations: 86.97 MB / 0.6797 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example5): time 0.00145/0.1309, allocations: 0.5858 MB / 0.6803 GB, free: 396 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001313/0.1311, allocations: 48.52 kB / 0.6803 GB, free: 348 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.012e-05/0.1311, allocations: 0 / 0.6803 GB, free: 348 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.209e-05/0.1312, allocations: 0.875 kB / 0.6803 GB, free: 348 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.1313, allocations: 11.94 kB / 0.6804 GB, free: 336 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.45e-05/0.1313, allocations: 0.5312 kB / 0.6804 GB, free: 336 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 4.208e-05/0.1314, allocations: 13.11 kB / 0.6804 GB, free: 324 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.719e-05/0.1314, allocations: 4 kB / 0.6804 GB, free: 320 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.004e-05/0.1315, allocations: 7.938 kB / 0.6804 GB, free: 312 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.575e-05/0.1315, allocations: 12.86 kB / 0.6804 GB, free: 300 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.1315, allocations: 0 / 0.6804 GB, free: 300 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.303e-06/0.1315, allocations: 0 / 0.6804 GB, free: 300 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.341e-05/0.1316, allocations: 11.98 kB / 0.6804 GB, free: 288 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.18e-05/0.1316, allocations: 7.938 kB / 0.6804 GB, free: 280 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 4.104e-05/0.1317, allocations: 7.984 kB / 0.6804 GB, free: 272 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.1317, allocations: 0 / 0.6804 GB, free: 272 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1317, allocations: 0 / 0.6804 GB, free: 272 kB / 478.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.1317, allocations: 0 / 0.6804 GB, free: 272 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.0003378/0.132, allocations: 339.6 kB / 0.6807 GB, free: 15.88 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.981e-05/0.1321, allocations: 8.031 kB / 0.6807 GB, free: 15.88 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.486e-05/0.1321, allocations: 34.73 kB / 0.6808 GB, free: 15.83 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.773e-05/0.1321, allocations: 8.938 kB / 0.6808 GB, free: 15.82 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.1322, allocations: 168.3 kB / 0.681 GB, free: 15.62 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.388e-06/0.1323, allocations: 384 / 0.681 GB, free: 15.62 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.1323, allocations: 384 / 0.681 GB, free: 15.62 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.814e-05/0.1323, allocations: 38.19 kB / 0.681 GB, free: 15.58 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.1323, allocations: 3.938 kB / 0.681 GB, free: 15.57 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.899e-06/0.1324, allocations: 0 / 0.681 GB, free: 15.57 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.025e-06/0.1324, allocations: 0 / 0.681 GB, free: 15.57 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.427e-05/0.1324, allocations: 4 kB / 0.681 GB, free: 15.57 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001182/0.1325, allocations: 157.7 kB / 0.6811 GB, free: 15.37 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.573e-05/0.1325, allocations: 30.56 kB / 0.6812 GB, free: 15.33 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.79e-05/0.1326, allocations: 8.922 kB / 0.6812 GB, free: 15.32 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.804e-06/0.1326, allocations: 0 / 0.6812 GB, free: 15.32 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.1326, allocations: 30.56 kB / 0.6812 GB, free: 15.28 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.843e-06/0.1326, allocations: 7.922 kB / 0.6812 GB, free: 15.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001045/0.1327, allocations: 41.62 kB / 0.6813 GB, free: 15.22 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.332e-05/0.1328, allocations: 59.53 kB / 0.6813 GB, free: 15.15 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.246e-05/0.1328, allocations: 109.8 kB / 0.6814 GB, free: 15.04 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.1328, allocations: 29.7 kB / 0.6814 GB, free: 15 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.645e-05/0.1329, allocations: 84.14 kB / 0.6815 GB, free: 14.91 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.246e-05/0.1329, allocations: 0 / 0.6815 GB, free: 14.91 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.777e-05/0.1329, allocations: 21.62 kB / 0.6816 GB, free: 14.89 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.04e-05/0.133, allocations: 314.8 kB / 0.6819 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.481e-05/0.133, allocations: 7.984 kB / 0.6819 GB, free: 14.56 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.844e-05/0.1331, allocations: 17.72 kB / 0.6819 GB, free: 14.54 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.376e-05/0.1331, allocations: 25.89 kB / 0.6819 GB, free: 14.51 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1331, allocations: 4 kB / 0.6819 GB, free: 14.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.148e-05/0.1332, allocations: 49.62 kB / 0.682 GB, free: 14.45 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.1332, allocations: 7.938 kB / 0.682 GB, free: 14.44 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.006e-06/0.1332, allocations: 4.125 kB / 0.682 GB, free: 14.44 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/0.1332, allocations: 0 / 0.682 GB, free: 14.44 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.851e-05/0.1333, allocations: 4 kB / 0.682 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.1333, allocations: 0 / 0.682 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.148e-05/0.1333, allocations: 7.938 kB / 0.682 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.1333, allocations: 0 / 0.682 GB, free: 14.43 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.832e-05/0.1334, allocations: 114.5 kB / 0.6821 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.476e-06/0.1334, allocations: 7.938 kB / 0.6821 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.811e-05/0.1335, allocations: 53.16 kB / 0.6821 GB, free: 14.24 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.1335, allocations: 4 kB / 0.6821 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.1335, allocations: 0 / 0.6821 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-06/0.1335, allocations: 0 / 0.6821 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.36e-05/0.1336, allocations: 157.7 kB / 0.6823 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1336, allocations: 0 / 0.6823 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.338e-05/0.1336, allocations: 7.984 kB / 0.6823 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1336, allocations: 3.938 kB / 0.6823 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.1337, allocations: 0 / 0.6823 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1337, allocations: 0 / 0.6823 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1337, allocations: 4 kB / 0.6823 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.297e-05/0.1338, allocations: 77.06 kB / 0.6824 GB, free: 13.92 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.52e-05/0.1338, allocations: 81.09 kB / 0.6825 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.1338, allocations: 7.969 kB / 0.6825 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.942e-05/0.1338, allocations: 0 / 0.6825 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.253e-05/0.1339, allocations: 0 / 0.6825 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.1339, allocations: 3.938 kB / 0.6825 GB, free: 13.81 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.908e-05/0.1339, allocations: 91.27 kB / 0.6826 GB, free: 13.72 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1339, allocations: 4.094 kB / 0.6826 GB, free: 13.72 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001661/0.1341, allocations: 4 kB / 0.6826 GB, free: 13.71 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.0002722/0.1344, allocations: 0.6086 MB / 0.6832 GB, free: 13.08 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.164e-05/0.1344, allocations: 20.08 kB / 0.6832 GB, free: 13.06 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.1344, allocations: 4.062 kB / 0.6832 GB, free: 13.05 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.266e-05/0.1345, allocations: 8 kB / 0.6832 GB, free: 13.05 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001199/0.1346, allocations: 3.938 kB / 0.6832 GB, free: 13.04 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007151/0.1353, allocations: 1.151 MB / 0.6843 GB, free: 11.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001741/0.1355, allocations: 0.6768 MB / 0.685 GB, free: 11.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.164e-05/0.1355, allocations: 4 kB / 0.685 GB, free: 11.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.508e-05/0.1355, allocations: 15.42 kB / 0.685 GB, free: 11.09 MB / 494.1 MB Notification: Performance of SimCode: time 1.643e-06/0.1356, allocations: 0 / 0.685 GB, free: 11.09 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2263/0.3619, allocations: 1.115 MB / 0.6861 GB, free: 10.09 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002104/0.3621, allocations: 198.1 kB / 0.6863 GB, free: 9.84 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.587/1.949, allocations: 0 / 0.6863 GB, free: 9.84 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)