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.001035/0.001035, allocations: 103.9 kB / 15.98 MB, free: 6.352 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.001003/0.001003, allocations: 191 kB / 16.91 MB, free: 6.195 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.212/1.212, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.688/0.688, allocations: 115.3 MB / 406.1 MB, free: 6.406 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 63.91 kB / 493.2 MB, free: 0.6523 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.3005, allocations: 76.17 MB / 0.556 GB, free: 36.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example8): time 0.001363/0.3019, allocations: 0.572 MB / 0.5566 GB, free: 36.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 9.692e-05/0.302, allocations: 20.5 kB / 0.5566 GB, free: 36.01 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.921e-05/0.302, allocations: 0 / 0.5566 GB, free: 36.01 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.214e-05/0.302, allocations: 0.9375 kB / 0.5566 GB, free: 36.01 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001177/0.3022, allocations: 4.875 kB / 0.5566 GB, free: 36 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.316e-06/0.3022, allocations: 0 / 0.5566 GB, free: 36 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.514e-05/0.3022, allocations: 4.531 kB / 0.5566 GB, free: 36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.635e-05/0.3023, allocations: 2.734 kB / 0.5566 GB, free: 36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.658e-05/0.3023, allocations: 4.031 kB / 0.5566 GB, free: 36 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.063e-05/0.3023, allocations: 5.094 kB / 0.5566 GB, free: 36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.3023, allocations: 0 / 0.5566 GB, free: 36 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.252e-06/0.3024, allocations: 1.094 kB / 0.5566 GB, free: 36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.596e-06/0.3024, allocations: 3.984 kB / 0.5566 GB, free: 36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.249e-05/0.3024, allocations: 1.812 kB / 0.5566 GB, free: 36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 3.214e-05/0.3024, allocations: 6.891 kB / 0.5566 GB, free: 35.99 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3024, allocations: 1.469 kB / 0.5566 GB, free: 35.99 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3024, allocations: 1.281 kB / 0.5566 GB, free: 35.99 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.3024, allocations: 3.938 kB / 0.5566 GB, free: 35.99 MB / 446.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.0001814/0.3026, allocations: 314.5 kB / 0.5569 GB, free: 35.64 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.3027, allocations: 9.875 kB / 0.5569 GB, free: 35.64 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.857e-05/0.3027, allocations: 32.03 kB / 0.557 GB, free: 35.6 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.77e-05/0.3027, allocations: 7.875 kB / 0.557 GB, free: 35.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.777e-05/0.3028, allocations: 163.4 kB / 0.5571 GB, free: 35.4 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-06/0.3028, allocations: 384 / 0.5571 GB, free: 35.4 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.045e-06/0.3028, allocations: 1.406 kB / 0.5571 GB, free: 35.4 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.221e-05/0.3029, allocations: 47.75 kB / 0.5572 GB, free: 35.35 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.3029, allocations: 5.344 kB / 0.5572 GB, free: 35.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.56e-06/0.3029, allocations: 0 / 0.5572 GB, free: 35.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.3029, allocations: 1.031 kB / 0.5572 GB, free: 35.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.767e-05/0.3029, allocations: 6.375 kB / 0.5572 GB, free: 35.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.55e-05/0.303, allocations: 157.4 kB / 0.5573 GB, free: 35.14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.387e-05/0.3031, allocations: 39.38 kB / 0.5574 GB, free: 35.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.806e-05/0.3031, allocations: 19.67 kB / 0.5574 GB, free: 35.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.3031, allocations: 1.188 kB / 0.5574 GB, free: 35.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.37e-05/0.3031, allocations: 31.72 kB / 0.5574 GB, free: 35.03 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.3031, allocations: 0.5625 kB / 0.5574 GB, free: 35.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001063/0.3032, allocations: 49.02 kB / 0.5575 GB, free: 34.99 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.191e-05/0.3033, allocations: 81.11 kB / 0.5576 GB, free: 34.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.872e-05/0.3033, allocations: 92.17 kB / 0.5576 GB, free: 34.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.5e-06/0.3033, allocations: 25.7 kB / 0.5577 GB, free: 34.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.167e-06/0.3033, allocations: 81.05 kB / 0.5577 GB, free: 34.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.3034, allocations: 8.438 kB / 0.5578 GB, free: 34.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.286e-05/0.3034, allocations: 24.17 kB / 0.5578 GB, free: 34.66 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.613e-05/0.3034, allocations: 311.5 kB / 0.5581 GB, free: 34.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.187e-06/0.3035, allocations: 3.594 kB / 0.5581 GB, free: 34.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.022e-05/0.3035, allocations: 13.12 kB / 0.5581 GB, free: 34.33 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.435e-05/0.3035, allocations: 23.09 kB / 0.5581 GB, free: 34.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.3035, allocations: 0.9688 kB / 0.5581 GB, free: 34.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.775e-05/0.3036, allocations: 43.14 kB / 0.5582 GB, free: 34.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.3036, allocations: 13.03 kB / 0.5582 GB, free: 34.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.3036, allocations: 1.75 kB / 0.5582 GB, free: 34.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.3036, allocations: 0.7188 kB / 0.5582 GB, free: 34.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.384e-05/0.3036, allocations: 3.969 kB / 0.5582 GB, free: 34.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.3037, allocations: 8.297 kB / 0.5582 GB, free: 34.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.481e-05/0.3037, allocations: 1.188 kB / 0.5582 GB, free: 34.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.3037, allocations: 2.344 kB / 0.5582 GB, free: 34.26 MB / 446.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 3.531e-05/0.3037, allocations: 111.8 kB / 0.5583 GB, free: 34.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.536e-06/0.3037, allocations: 9.375 kB / 0.5583 GB, free: 34.13 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.977e-05/0.3038, allocations: 49.31 kB / 0.5583 GB, free: 34.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3038, allocations: 0.8438 kB / 0.5583 GB, free: 34.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3038, allocations: 3.094 kB / 0.5584 GB, free: 34.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.3038, allocations: 1.375 kB / 0.5584 GB, free: 34.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.618e-05/0.3039, allocations: 147.9 kB / 0.5585 GB, free: 33.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.3039, allocations: 3.25 kB / 0.5585 GB, free: 33.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.005e-05/0.3039, allocations: 2.594 kB / 0.5585 GB, free: 33.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.3039, allocations: 5.188 kB / 0.5585 GB, free: 33.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.3039, allocations: 1.5 kB / 0.5585 GB, free: 33.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.304, allocations: 0 / 0.5585 GB, free: 33.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.304, allocations: 2.438 kB / 0.5585 GB, free: 33.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.977e-05/0.304, allocations: 76.08 kB / 0.5586 GB, free: 33.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.79e-05/0.304, allocations: 86.12 kB / 0.5587 GB, free: 33.72 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.829e-06/0.3041, allocations: 5.281 kB / 0.5587 GB, free: 33.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.344e-05/0.3041, allocations: 0.75 kB / 0.5587 GB, free: 33.72 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.067e-05/0.3041, allocations: 4.062 kB / 0.5587 GB, free: 33.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.3041, allocations: 2.094 kB / 0.5587 GB, free: 33.72 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.427e-05/0.3041, allocations: 77.56 kB / 0.5587 GB, free: 33.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3041, allocations: 0 / 0.5587 GB, free: 33.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001664/0.3043, allocations: 3.188 kB / 0.5588 GB, free: 33.64 MB / 446.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 (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.0001788/0.3045, allocations: 0.6096 MB / 0.5593 GB, free: 33.03 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.831e-05/0.3045, allocations: 10.19 kB / 0.5594 GB, free: 33.03 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3046, allocations: 0 / 0.5594 GB, free: 33.03 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.728e-06/0.3046, allocations: 8.375 kB / 0.5594 GB, free: 33.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001185/0.3047, allocations: 6.281 kB / 0.5594 GB, free: 33.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002305/0.3049, allocations: 124 kB / 0.5595 GB, free: 32.87 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.628e-05/0.305, allocations: 0.6728 MB / 0.5601 GB, free: 32.18 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.684e-05/0.3051, allocations: 9.781 kB / 0.5602 GB, free: 32.17 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.903e-05/0.3051, allocations: 8.719 kB / 0.5602 GB, free: 32.16 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3051, allocations: 0 / 0.5602 GB, free: 32.16 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1254/0.4305, allocations: 0.8135 MB / 0.561 GB, free: 31.96 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001242/0.4306, allocations: 188.2 kB / 0.5611 GB, free: 31.71 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.713/2.143, allocations: 5.344 kB / 0.5611 GB, free: 31.71 MB / 446.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/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)