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.001288/0.001288, allocations: 99.05 kB / 16.02 MB, free: 80 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.001749/0.001749, allocations: 184.8 kB / 16.92 MB, free: 6.676 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.452/1.452, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7129/0.7129, allocations: 115.5 MB / 407.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003596/0.0003596, allocations: 8.5 kB / 495.9 MB, free: 6.227 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1519, allocations: 77.53 MB / 0.56 GB, free: 8.898 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.ModelTime): time 0.000626/0.1525, allocations: 314.2 kB / 0.5603 GB, free: 8.594 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 3.037e-05/0.1526, allocations: 4 kB / 0.5603 GB, free: 8.59 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.048e-05/0.1526, allocations: 0 / 0.5603 GB, free: 8.59 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.079e-05/0.1526, allocations: 0 / 0.5603 GB, free: 8.59 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.326e-06/0.1526, allocations: 4 kB / 0.5603 GB, free: 8.586 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.678e-05/0.1527, allocations: 4 kB / 0.5604 GB, free: 8.582 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.076e-05/0.1527, allocations: 0 / 0.5604 GB, free: 8.582 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.957e-05/0.1527, allocations: 0 / 0.5604 GB, free: 8.582 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.869e-06/0.1528, allocations: 3.938 kB / 0.5604 GB, free: 8.578 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.151e-05/0.1528, allocations: 0 / 0.5604 GB, free: 8.578 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.054e-06/0.1528, allocations: 0 / 0.5604 GB, free: 8.578 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.184e-06/0.1528, allocations: 3.938 kB / 0.5604 GB, free: 8.574 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.895e-06/0.1528, allocations: 4 kB / 0.5604 GB, free: 8.57 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.652e-05/0.1528, allocations: 29.64 kB / 0.5604 GB, free: 8.535 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 3.509e-05/0.1529, allocations: 0 / 0.5604 GB, free: 8.535 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1529, allocations: 4 kB / 0.5604 GB, free: 8.531 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1529, allocations: 0 / 0.5604 GB, free: 8.531 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.056e-06/0.1529, allocations: 0 / 0.5604 GB, free: 8.531 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.0002097/0.1531, allocations: 311.5 kB / 0.5607 GB, free: 8.176 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.1532, allocations: 12.09 kB / 0.5607 GB, free: 8.164 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.522e-05/0.1532, allocations: 30.75 kB / 0.5607 GB, free: 8.125 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.406e-05/0.1532, allocations: 0.9375 kB / 0.5607 GB, free: 8.125 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.408e-05/0.1533, allocations: 160.4 kB / 0.5609 GB, free: 7.93 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.344e-06/0.1533, allocations: 384 / 0.5609 GB, free: 7.93 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.342e-06/0.1533, allocations: 384 / 0.5609 GB, free: 7.93 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.132e-05/0.1534, allocations: 34.27 kB / 0.5609 GB, free: 7.891 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.1534, allocations: 11.91 kB / 0.5609 GB, free: 7.879 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.177e-06/0.1534, allocations: 0 / 0.5609 GB, free: 7.879 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.625e-06/0.1534, allocations: 0 / 0.5609 GB, free: 7.879 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.307e-05/0.1534, allocations: 3.938 kB / 0.5609 GB, free: 7.875 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001118/0.1535, allocations: 149.7 kB / 0.5611 GB, free: 7.68 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.124e-05/0.1536, allocations: 18.58 kB / 0.5611 GB, free: 7.652 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.948e-05/0.1536, allocations: 12.95 kB / 0.5611 GB, free: 7.637 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.442e-06/0.1536, allocations: 0 / 0.5611 GB, free: 7.637 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.1536, allocations: 30.56 kB / 0.5611 GB, free: 7.598 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 6.42e-07/0.1537, allocations: 0 / 0.5611 GB, free: 7.598 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 8.671e-05/0.1537, allocations: 45.56 kB / 0.5612 GB, free: 7.547 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.1538, allocations: 55.41 kB / 0.5612 GB, free: 7.48 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.221e-05/0.1538, allocations: 89.86 kB / 0.5613 GB, free: 7.383 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.1538, allocations: 25.83 kB / 0.5613 GB, free: 7.352 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.243e-05/0.1539, allocations: 84.14 kB / 0.5614 GB, free: 7.266 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.031e-05/0.1539, allocations: 7.891 kB / 0.5614 GB, free: 7.258 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.82e-05/0.1539, allocations: 9.719 kB / 0.5614 GB, free: 7.242 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.044e-05/0.154, allocations: 310.8 kB / 0.5617 GB, free: 6.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.032e-06/0.154, allocations: 0 / 0.5617 GB, free: 6.93 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.244e-06/0.154, allocations: 4 kB / 0.5617 GB, free: 6.926 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.038e-05/0.1541, allocations: 12.8 kB / 0.5618 GB, free: 6.91 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.1541, allocations: 4.062 kB / 0.5618 GB, free: 6.906 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.846e-05/0.1541, allocations: 41.62 kB / 0.5618 GB, free: 6.859 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.1542, allocations: 4 kB / 0.5618 GB, free: 6.855 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.1542, allocations: 3.938 kB / 0.5618 GB, free: 6.852 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.927e-06/0.1542, allocations: 0 / 0.5618 GB, free: 6.852 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.928e-05/0.1542, allocations: 4 kB / 0.5618 GB, free: 6.848 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.1542, allocations: 3.938 kB / 0.5618 GB, free: 6.844 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.01e-05/0.1542, allocations: 4 kB / 0.5618 GB, free: 6.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.436e-06/0.1543, allocations: 0 / 0.5618 GB, free: 6.84 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.567e-05/0.1543, allocations: 109.9 kB / 0.5619 GB, free: 6.723 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.921e-06/0.1543, allocations: 0 / 0.5619 GB, free: 6.723 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.628e-05/0.1544, allocations: 15.06 kB / 0.5619 GB, free: 6.711 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1544, allocations: 3.984 kB / 0.5619 GB, free: 6.707 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1544, allocations: 0 / 0.5619 GB, free: 6.707 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.1544, allocations: 0 / 0.5619 GB, free: 6.707 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.249e-05/0.1545, allocations: 142 kB / 0.5621 GB, free: 6.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1545, allocations: 0 / 0.5621 GB, free: 6.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.259e-05/0.1545, allocations: 4 kB / 0.5621 GB, free: 6.516 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1545, allocations: 0 / 0.5621 GB, free: 6.516 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.1545, allocations: 3.938 kB / 0.5621 GB, free: 6.512 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.1545, allocations: 4 kB / 0.5621 GB, free: 6.508 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1545, allocations: 3.938 kB / 0.5621 GB, free: 6.504 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.26e-05/0.1546, allocations: 61.12 kB / 0.5621 GB, free: 6.426 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.987e-05/0.1546, allocations: 77.11 kB / 0.5622 GB, free: 6.332 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.004e-05/0.1546, allocations: 3.938 kB / 0.5622 GB, free: 6.328 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.443e-06/0.1547, allocations: 0 / 0.5622 GB, free: 6.328 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.757e-06/0.1547, allocations: 0 / 0.5622 GB, free: 6.328 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-06/0.1547, allocations: 4.031 kB / 0.5622 GB, free: 6.324 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.004e-05/0.1547, allocations: 75.28 kB / 0.5623 GB, free: 6.25 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1547, allocations: 0 / 0.5623 GB, free: 6.25 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000167/0.1549, allocations: 4 kB / 0.5623 GB, free: 6.246 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 (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.0003251/0.1552, allocations: 0.5967 MB / 0.5629 GB, free: 5.617 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 7.446e-05/0.1553, allocations: 4 kB / 0.5629 GB, free: 5.613 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.1553, allocations: 0 / 0.5629 GB, free: 5.613 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.639e-06/0.1553, allocations: 4 kB / 0.5629 GB, free: 5.609 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001196/0.1555, allocations: 3.938 kB / 0.5629 GB, free: 5.605 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002558/0.1557, allocations: 108.4 kB / 0.563 GB, free: 5.457 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.156, allocations: 0.6692 MB / 0.5637 GB, free: 4.762 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.347e-05/0.156, allocations: 0 / 0.5637 GB, free: 4.762 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.605e-05/0.156, allocations: 15.5 kB / 0.5637 GB, free: 4.746 MB / 430.1 MB Notification: Performance of SimCode: time 4.31e-07/0.156, allocations: 0 / 0.5637 GB, free: 4.746 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009898/0.1659, allocations: 0.6942 MB / 0.5643 GB, free: 4.176 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002028/0.1661, allocations: 178.1 kB / 0.5645 GB, free: 3.926 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.703/1.869, allocations: 0 / 0.5645 GB, free: 3.926 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/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)