Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Examples.Performance.Example8,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.Example8,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example8",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.0006872/0.0006872, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007372/0.0007371, allocations: 172.6 kB / 16.58 MB, free: 6.852 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.165/1.165, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5868/0.5868, allocations: 113.7 MB / 405.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002996/0.0002996, allocations: 8 kB / 493.1 MB, free: 8.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1103, allocations: 77.11 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example8): time 0.0004765/0.1108, allocations: 238.3 kB / 0.5571 GB, free: 11.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 9.421e-05/0.1109, allocations: 23.91 kB / 0.5571 GB, free: 11.41 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.769e-05/0.1109, allocations: 0 / 0.5571 GB, free: 11.41 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.025e-05/0.1109, allocations: 0 / 0.5571 GB, free: 11.41 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001029/0.111, allocations: 0 / 0.5571 GB, free: 11.41 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.535e-06/0.1111, allocations: 4 kB / 0.5571 GB, free: 11.41 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.478e-05/0.1111, allocations: 7.938 kB / 0.5572 GB, free: 11.4 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.584e-05/0.1111, allocations: 0 / 0.5572 GB, free: 11.4 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.315e-05/0.1112, allocations: 0 / 0.5572 GB, free: 11.4 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.467e-05/0.1112, allocations: 4 kB / 0.5572 GB, free: 11.39 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.907e-06/0.1112, allocations: 0 / 0.5572 GB, free: 11.39 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.421e-06/0.1112, allocations: 0 / 0.5572 GB, free: 11.39 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.423e-06/0.1112, allocations: 7.922 kB / 0.5572 GB, free: 11.39 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.419e-05/0.1113, allocations: 25.7 kB / 0.5572 GB, free: 11.36 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 2.449e-05/0.1113, allocations: 3.984 kB / 0.5572 GB, free: 11.35 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1113, allocations: 0 / 0.5572 GB, free: 11.35 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1113, allocations: 8 kB / 0.5572 GB, free: 11.34 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.765e-06/0.1113, allocations: 0 / 0.5572 GB, free: 11.34 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0001907/0.1115, allocations: 307.4 kB / 0.5575 GB, free: 11 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.1115, allocations: 12.09 kB / 0.5575 GB, free: 10.98 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.786e-05/0.1116, allocations: 30.56 kB / 0.5575 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.59e-05/0.1116, allocations: 0 / 0.5575 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.141e-05/0.1117, allocations: 163.1 kB / 0.5577 GB, free: 10.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.414e-06/0.1117, allocations: 0 / 0.5577 GB, free: 10.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.1117, allocations: 7.953 kB / 0.5577 GB, free: 10.74 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.293e-05/0.1118, allocations: 43.42 kB / 0.5577 GB, free: 10.68 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.621e-06/0.1118, allocations: 3.938 kB / 0.5577 GB, free: 10.68 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.56e-06/0.1118, allocations: 7.938 kB / 0.5578 GB, free: 10.67 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.1118, allocations: 0 / 0.5578 GB, free: 10.67 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.685e-05/0.1118, allocations: 0 / 0.5578 GB, free: 10.67 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001192/0.112, allocations: 158.5 kB / 0.5579 GB, free: 10.46 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.088e-05/0.112, allocations: 41.22 kB / 0.5579 GB, free: 10.41 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.774e-05/0.112, allocations: 13.72 kB / 0.558 GB, free: 10.39 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.1121, allocations: 8 kB / 0.558 GB, free: 10.38 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.1121, allocations: 38.52 kB / 0.558 GB, free: 10.33 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.1121, allocations: 0 / 0.558 GB, free: 10.33 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001081/0.1122, allocations: 45.72 kB / 0.558 GB, free: 10.28 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.1122, allocations: 85.11 kB / 0.5581 GB, free: 10.18 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.3e-05/0.1123, allocations: 89.86 kB / 0.5582 GB, free: 10.08 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.1123, allocations: 25.7 kB / 0.5582 GB, free: 10.05 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.011e-05/0.1123, allocations: 80.14 kB / 0.5583 GB, free: 9.969 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.1124, allocations: 12.11 kB / 0.5583 GB, free: 9.957 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.974e-06/0.1124, allocations: 0 / 0.5583 GB, free: 9.957 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.412e-05/0.1124, allocations: 315.1 kB / 0.5586 GB, free: 9.641 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.678e-06/0.1125, allocations: 11.94 kB / 0.5586 GB, free: 9.629 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.226e-05/0.1125, allocations: 13.72 kB / 0.5586 GB, free: 9.609 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.333e-05/0.1125, allocations: 0 / 0.5586 GB, free: 9.609 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1125, allocations: 0 / 0.5586 GB, free: 9.609 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.242e-05/0.1126, allocations: 41.69 kB / 0.5587 GB, free: 9.562 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.1126, allocations: 15.89 kB / 0.5587 GB, free: 9.547 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1126, allocations: 128 / 0.5587 GB, free: 9.547 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.1126, allocations: 4 kB / 0.5587 GB, free: 9.543 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.557e-05/0.1127, allocations: 4 kB / 0.5587 GB, free: 9.539 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.1127, allocations: 0 / 0.5587 GB, free: 9.539 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.445e-05/0.1127, allocations: 0 / 0.5587 GB, free: 9.539 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.1127, allocations: 4 kB / 0.5587 GB, free: 9.535 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.983e-05/0.1128, allocations: 105.8 kB / 0.5588 GB, free: 9.422 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.006e-05/0.1128, allocations: 7.891 kB / 0.5588 GB, free: 9.414 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.1129, allocations: 64.69 kB / 0.5589 GB, free: 9.34 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1129, allocations: 0 / 0.5589 GB, free: 9.34 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1129, allocations: 0 / 0.5589 GB, free: 9.34 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1129, allocations: 4 kB / 0.5589 GB, free: 9.336 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.538e-05/0.113, allocations: 145.7 kB / 0.559 GB, free: 9.145 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.113, allocations: 0 / 0.559 GB, free: 9.145 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.248e-05/0.113, allocations: 11.98 kB / 0.559 GB, free: 9.133 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.113, allocations: 0 / 0.559 GB, free: 9.133 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-06/0.113, allocations: 0 / 0.559 GB, free: 9.133 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.113, allocations: 3.953 kB / 0.559 GB, free: 9.129 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.113, allocations: 4.062 kB / 0.559 GB, free: 9.125 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.451e-05/0.1131, allocations: 77.81 kB / 0.5591 GB, free: 9.027 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.001e-05/0.1132, allocations: 81.09 kB / 0.5592 GB, free: 8.93 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.847e-06/0.1132, allocations: 0 / 0.5592 GB, free: 8.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.637e-05/0.1132, allocations: 4 kB / 0.5592 GB, free: 8.926 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.307e-05/0.1132, allocations: 3.953 kB / 0.5592 GB, free: 8.922 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.1132, allocations: 4.031 kB / 0.5592 GB, free: 8.918 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.14e-05/0.1133, allocations: 75.28 kB / 0.5593 GB, free: 8.844 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1133, allocations: 0 / 0.5593 GB, free: 8.844 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001759/0.1134, allocations: 4 kB / 0.5593 GB, free: 8.84 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.000259/0.1137, allocations: 0.6063 MB / 0.5599 GB, free: 8.199 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.709e-05/0.1138, allocations: 7.984 kB / 0.5599 GB, free: 8.191 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.1138, allocations: 0 / 0.5599 GB, free: 8.191 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.989e-06/0.1138, allocations: 7.938 kB / 0.5599 GB, free: 8.184 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001229/0.1139, allocations: 7.953 kB / 0.5599 GB, free: 8.176 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002562/0.1142, allocations: 127.5 kB / 0.56 GB, free: 8.008 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001618/0.1144, allocations: 0.6731 MB / 0.5607 GB, free: 7.309 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.851e-05/0.1144, allocations: 7.906 kB / 0.5607 GB, free: 7.301 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.788e-05/0.1144, allocations: 7.438 kB / 0.5607 GB, free: 7.293 MB / 430.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1144, allocations: 0 / 0.5607 GB, free: 7.293 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.008789/0.1232, allocations: 0.7404 MB / 0.5614 GB, free: 6.68 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001372/0.1234, allocations: 179.7 kB / 0.5616 GB, free: 6.438 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.336/1.46, allocations: 0 / 0.5616 GB, free: 6.438 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example8.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.pipe 2>&1) Environment - environmentSimulation: