Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.379/1.379, allocations: 251.5 MB / 266.7 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000892/0.0008921, allocations: 180.6 kB / 325.8 MB, free: 2.719 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.454/1.454, allocations: 205 MB / 0.576 GB, free: 21.03 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007209/0.0007208, allocations: 91.92 kB / 0.6797 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002895/0.0002897, allocations: 8.625 kB / 0.7932 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1601, allocations: 105.4 MB / 0.8962 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.0006481/0.1608, allocations: 282.2 kB / 0.8965 GB, free: 67.87 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001536/0.161, allocations: 35.86 kB / 0.8965 GB, free: 67.83 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.782e-05/0.1611, allocations: 0 / 0.8965 GB, free: 67.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.192e-05/0.1611, allocations: 0 / 0.8965 GB, free: 67.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001209/0.1613, allocations: 11.94 kB / 0.8965 GB, free: 67.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.119e-05/0.1613, allocations: 4 kB / 0.8965 GB, free: 67.82 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.171e-05/0.1614, allocations: 7.938 kB / 0.8965 GB, free: 67.81 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.385e-05/0.1614, allocations: 4 kB / 0.8965 GB, free: 67.8 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.372e-05/0.1615, allocations: 3.984 kB / 0.8965 GB, free: 67.8 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.96e-05/0.1615, allocations: 11.98 kB / 0.8965 GB, free: 67.79 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.1616, allocations: 0 / 0.8965 GB, free: 67.79 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.362e-06/0.1616, allocations: 4 kB / 0.8965 GB, free: 67.79 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.037e-05/0.1616, allocations: 7.922 kB / 0.8966 GB, free: 67.78 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.358e-05/0.1616, allocations: 4 kB / 0.8966 GB, free: 67.77 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 4.777e-05/0.1617, allocations: 11.94 kB / 0.8966 GB, free: 67.76 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1617, allocations: 7.938 kB / 0.8966 GB, free: 67.75 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1617, allocations: 0 / 0.8966 GB, free: 67.75 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.1617, allocations: 0 / 0.8966 GB, free: 67.75 MB / 0.6042 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.0003057/0.162, allocations: 327.8 kB / 0.8969 GB, free: 67.38 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.1621, allocations: 8.031 kB / 0.8969 GB, free: 67.38 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.35e-05/0.1621, allocations: 30.75 kB / 0.8969 GB, free: 67.34 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.1e-05/0.1621, allocations: 4.938 kB / 0.8969 GB, free: 67.33 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.1623, allocations: 172.3 kB / 0.8971 GB, free: 67.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.935e-06/0.1623, allocations: 4.375 kB / 0.8971 GB, free: 67.12 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.1623, allocations: 4.312 kB / 0.8971 GB, free: 67.12 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.004e-05/0.1624, allocations: 34.27 kB / 0.8971 GB, free: 67.08 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.631e-06/0.1624, allocations: 3.938 kB / 0.8971 GB, free: 67.07 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.871e-06/0.1624, allocations: 0 / 0.8971 GB, free: 67.07 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.83e-06/0.1624, allocations: 0 / 0.8971 GB, free: 67.07 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.827e-05/0.1624, allocations: 11.92 kB / 0.8972 GB, free: 67.06 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001058/0.1625, allocations: 153.7 kB / 0.8973 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.159e-05/0.1626, allocations: 22.58 kB / 0.8973 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.496e-05/0.1626, allocations: 4.859 kB / 0.8973 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.1626, allocations: 3.984 kB / 0.8973 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.292e-05/0.1626, allocations: 34.62 kB / 0.8974 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.1626, allocations: 0 / 0.8974 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001075/0.1627, allocations: 49.55 kB / 0.8974 GB, free: 66.72 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.746e-05/0.1628, allocations: 51.41 kB / 0.8975 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.481e-05/0.1628, allocations: 118 kB / 0.8976 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.552e-06/0.1628, allocations: 29.7 kB / 0.8976 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.648e-05/0.1629, allocations: 84.08 kB / 0.8977 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.461e-05/0.1629, allocations: 3.906 kB / 0.8977 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.956e-05/0.1629, allocations: 13.72 kB / 0.8977 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.786e-05/0.1629, allocations: 314.8 kB / 0.898 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.274e-05/0.163, allocations: 7.984 kB / 0.898 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.815e-05/0.163, allocations: 13.72 kB / 0.898 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.15e-05/0.163, allocations: 29.7 kB / 0.898 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.163, allocations: 0 / 0.898 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.573e-05/0.1631, allocations: 45.69 kB / 0.8981 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.919e-06/0.1631, allocations: 7.938 kB / 0.8981 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.1631, allocations: 0 / 0.8981 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.566e-06/0.1631, allocations: 0 / 0.8981 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.266e-05/0.1632, allocations: 4 kB / 0.8981 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.1632, allocations: 8 kB / 0.8981 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.249e-05/0.1632, allocations: 4.812 kB / 0.8981 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-06/0.1632, allocations: 0 / 0.8981 GB, free: 65.94 MB / 0.6042 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 4.101e-05/0.1633, allocations: 113.8 kB / 0.8982 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.877e-06/0.1633, allocations: 7.938 kB / 0.8982 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.38e-05/0.1634, allocations: 44.81 kB / 0.8983 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.1634, allocations: 0 / 0.8983 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.1634, allocations: 4 kB / 0.8983 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.1634, allocations: 4.031 kB / 0.8983 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.853e-05/0.1635, allocations: 149.7 kB / 0.8984 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1635, allocations: 0 / 0.8984 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.348e-05/0.1635, allocations: 4 kB / 0.8984 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.1635, allocations: 7.922 kB / 0.8984 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.1635, allocations: 3.938 kB / 0.8984 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1635, allocations: 3.938 kB / 0.8984 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1635, allocations: 0 / 0.8984 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.213e-05/0.1636, allocations: 89.02 kB / 0.8985 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.793e-05/0.1637, allocations: 81.09 kB / 0.8986 GB, free: 65.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.1637, allocations: 3.938 kB / 0.8986 GB, free: 65.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.993e-05/0.1637, allocations: 0 / 0.8986 GB, free: 65.33 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.039e-05/0.1637, allocations: 4.031 kB / 0.8986 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-06/0.1637, allocations: 0 / 0.8986 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.815e-05/0.1638, allocations: 91.52 kB / 0.8987 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1638, allocations: 3.938 kB / 0.8987 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001663/0.1639, allocations: 0 / 0.8987 GB, free: 65.23 MB / 0.6042 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.0002028/0.1642, allocations: 0.6164 MB / 0.8993 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 5.975e-05/0.1642, allocations: 12 kB / 0.8993 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1642, allocations: 0 / 0.8993 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.244e-05/0.1643, allocations: 11.92 kB / 0.8993 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001265/0.1644, allocations: 8.281 kB / 0.8993 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006289/0.165, allocations: 1.149 MB / 0.9005 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.75e-05/0.1651, allocations: 0.677 MB / 0.9011 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.509e-05/0.1651, allocations: 4 kB / 0.9011 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.843e-05/0.1652, allocations: 11.44 kB / 0.9011 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of SimCode: time 3.31e-07/0.1652, allocations: 0 / 0.9011 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.122/0.2872, allocations: 1.006 MB / 0.9021 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001515/0.2874, allocations: 208 kB / 0.9023 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.596/1.883, allocations: 0 / 0.9023 GB, free: 61.46 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example5.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1)