Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.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.Utilities.Time.Examples.ModelTime,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Time.Examples.ModelTime,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Examples_ModelTime",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.001537/0.001537, allocations: 95.88 kB / 15.68 MB, free: 488 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.002218/0.002218, allocations: 174.2 kB / 16.56 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.341/2.341, allocations: 223.2 MB / 240.5 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.162/1.162, allocations: 113.7 MB / 405.3 MB, free: 4.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007499/0.0007505, allocations: 8 kB / 493 MB, free: 8.617 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2311, allocations: 77.11 MB / 0.5567 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.ModelTime): time 0.0007898/0.2319, allocations: 311.5 kB / 0.557 GB, free: 11.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 4.004e-05/0.232, allocations: 0 / 0.557 GB, free: 11.41 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.383e-05/0.232, allocations: 0 / 0.557 GB, free: 11.41 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.588e-05/0.232, allocations: 0 / 0.557 GB, free: 11.41 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.034e-06/0.232, allocations: 4 kB / 0.557 GB, free: 11.4 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.4e-05/0.2321, allocations: 0 / 0.557 GB, free: 11.4 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.625e-05/0.2322, allocations: 4 kB / 0.557 GB, free: 11.4 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.574e-05/0.2322, allocations: 0 / 0.557 GB, free: 11.4 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.682e-05/0.2322, allocations: 0 / 0.557 GB, free: 11.4 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.711e-05/0.2323, allocations: 3.984 kB / 0.557 GB, free: 11.39 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.2323, allocations: 4 kB / 0.557 GB, free: 11.39 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.3e-06/0.2323, allocations: 0 / 0.557 GB, free: 11.39 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.132e-05/0.2323, allocations: 0 / 0.557 GB, free: 11.39 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.662e-05/0.2324, allocations: 33.69 kB / 0.5571 GB, free: 11.35 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 4.734e-05/0.2324, allocations: 0 / 0.5571 GB, free: 11.35 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2325, allocations: 0 / 0.5571 GB, free: 11.35 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.856e-06/0.2325, allocations: 0 / 0.5571 GB, free: 11.35 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.2325, allocations: 0 / 0.5571 GB, free: 11.35 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003523/0.2328, allocations: 307.3 kB / 0.5574 GB, free: 11 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.2329, allocations: 12.09 kB / 0.5574 GB, free: 10.99 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.456e-05/0.2329, allocations: 34.56 kB / 0.5574 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.998e-05/0.233, allocations: 0 / 0.5574 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.2331, allocations: 163.1 kB / 0.5576 GB, free: 10.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.2331, allocations: 3.938 kB / 0.5576 GB, free: 10.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.272e-06/0.2331, allocations: 0 / 0.5576 GB, free: 10.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.2332, allocations: 37.66 kB / 0.5576 GB, free: 10.7 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.2332, allocations: 3.938 kB / 0.5576 GB, free: 10.7 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.202e-06/0.2333, allocations: 0 / 0.5576 GB, free: 10.7 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.2333, allocations: 0 / 0.5576 GB, free: 10.7 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.628e-05/0.2333, allocations: 0 / 0.5576 GB, free: 10.7 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001468/0.2334, allocations: 145.7 kB / 0.5577 GB, free: 10.51 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.007e-05/0.2335, allocations: 26.55 kB / 0.5578 GB, free: 10.47 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.095e-05/0.2335, allocations: 3.984 kB / 0.5578 GB, free: 10.47 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.2335, allocations: 34.56 kB / 0.5578 GB, free: 10.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.383e-06/0.2335, allocations: 0 / 0.5578 GB, free: 10.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001197/0.2337, allocations: 33.72 kB / 0.5578 GB, free: 10.39 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.2337, allocations: 63.47 kB / 0.5579 GB, free: 10.31 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.285e-05/0.2338, allocations: 89.86 kB / 0.558 GB, free: 10.21 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.2338, allocations: 25.7 kB / 0.558 GB, free: 10.18 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.333e-05/0.2338, allocations: 80.14 kB / 0.5581 GB, free: 10.1 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.937e-05/0.2339, allocations: 0 / 0.5581 GB, free: 10.1 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-06/0.2339, allocations: 0 / 0.5581 GB, free: 10.1 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.234, allocations: 310.8 kB / 0.5584 GB, free: 9.789 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.174e-05/0.2341, allocations: 8 kB / 0.5584 GB, free: 9.781 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.883e-06/0.2341, allocations: 4 kB / 0.5584 GB, free: 9.777 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.852e-05/0.2341, allocations: 3.984 kB / 0.5584 GB, free: 9.773 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2341, allocations: 0 / 0.5584 GB, free: 9.773 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.837e-05/0.2341, allocations: 29.7 kB / 0.5584 GB, free: 9.738 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.2342, allocations: 8 kB / 0.5584 GB, free: 9.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.2342, allocations: 0 / 0.5584 GB, free: 9.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.2342, allocations: 0 / 0.5584 GB, free: 9.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.451e-05/0.2343, allocations: 0 / 0.5584 GB, free: 9.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.2343, allocations: 7.891 kB / 0.5584 GB, free: 9.723 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.245e-05/0.2343, allocations: 7.906 kB / 0.5584 GB, free: 9.715 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.2343, allocations: 4.094 kB / 0.5584 GB, free: 9.711 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 9.653e-05/0.2344, allocations: 107.6 kB / 0.5585 GB, free: 9.598 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.042e-06/0.2344, allocations: 0 / 0.5585 GB, free: 9.598 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.61e-05/0.2345, allocations: 11.11 kB / 0.5586 GB, free: 9.582 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.2345, allocations: 0 / 0.5586 GB, free: 9.582 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.2345, allocations: 7.938 kB / 0.5586 GB, free: 9.574 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.2345, allocations: 3.953 kB / 0.5586 GB, free: 9.57 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.863e-05/0.2346, allocations: 142 kB / 0.5587 GB, free: 9.383 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.2346, allocations: 0 / 0.5587 GB, free: 9.383 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.576e-06/0.2346, allocations: 4 kB / 0.5587 GB, free: 9.379 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.341e-06/0.2346, allocations: 7.984 kB / 0.5587 GB, free: 9.371 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.2347, allocations: 4 kB / 0.5587 GB, free: 9.367 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.2347, allocations: 3.984 kB / 0.5587 GB, free: 9.363 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2347, allocations: 0 / 0.5587 GB, free: 9.363 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.826e-05/0.2348, allocations: 61.03 kB / 0.5588 GB, free: 9.285 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.071e-05/0.2348, allocations: 77.11 kB / 0.5589 GB, free: 9.191 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.2348, allocations: 7.938 kB / 0.5589 GB, free: 9.184 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.053e-06/0.2348, allocations: 4.031 kB / 0.5589 GB, free: 9.18 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.253e-05/0.2349, allocations: 0 / 0.5589 GB, free: 9.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.2349, allocations: 3.984 kB / 0.5589 GB, free: 9.176 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.271e-05/0.2349, allocations: 77.41 kB / 0.5589 GB, free: 9.102 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2349, allocations: 0 / 0.5589 GB, free: 9.102 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002073/0.2351, allocations: 0 / 0.5589 GB, free: 9.102 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.0003489/0.2355, allocations: 0.5936 MB / 0.5595 GB, free: 8.477 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.923e-05/0.2356, allocations: 7.938 kB / 0.5595 GB, free: 8.469 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2356, allocations: 0 / 0.5595 GB, free: 8.469 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.865e-06/0.2356, allocations: 7.984 kB / 0.5595 GB, free: 8.461 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001065/0.2357, allocations: 2.188 kB / 0.5595 GB, free: 8.461 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003127/0.236, allocations: 100.6 kB / 0.5596 GB, free: 8.32 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.2363, allocations: 0.6809 MB / 0.5603 GB, free: 7.613 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.65e-05/0.2363, allocations: 0 / 0.5603 GB, free: 7.613 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.119e-05/0.2364, allocations: 11.38 kB / 0.5603 GB, free: 7.602 MB / 430.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2364, allocations: 0 / 0.5603 GB, free: 7.602 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1851/0.4215, allocations: 0.6765 MB / 0.561 GB, free: 7.051 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005179/0.4221, allocations: 166.8 kB / 0.5611 GB, free: 6.812 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.102/3.524, allocations: 3.938 kB / 0.5611 GB, free: 6.809 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Time_Examples_ModelTime.fmu > IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe 2>&1) Environment - environmentSimulation: