Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Time.Examples.ModelTime,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Examples.ModelTime,fileNamePrefix="IDEAS_IDEAS_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.001276/0.001276, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001436/0.001436, allocations: 191.8 kB / 16.25 MB, free: 6.633 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.39/1.39, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7642/0.7642, allocations: 132.2 MB / 422.2 MB, free: 1.996 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001095/0.001095, allocations: 55.72 kB / 0.5013 GB, free: 9.055 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1569, allocations: 80.21 MB / 0.5797 GB, free: 9.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.001698/0.1587, allocations: 0.6378 MB / 0.5803 GB, free: 8.434 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 4.099e-05/0.1587, allocations: 11.92 kB / 0.5803 GB, free: 8.422 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.578e-05/0.1588, allocations: 4 kB / 0.5803 GB, free: 8.418 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.625e-05/0.1588, allocations: 4 kB / 0.5803 GB, free: 8.414 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.24e-06/0.1588, allocations: 0 / 0.5803 GB, free: 8.414 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.919e-05/0.1589, allocations: 0 / 0.5803 GB, free: 8.414 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.358e-05/0.1589, allocations: 0 / 0.5803 GB, free: 8.414 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.028e-05/0.159, allocations: 0 / 0.5803 GB, free: 8.414 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.483e-05/0.159, allocations: 4 kB / 0.5803 GB, free: 8.41 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.727e-05/0.159, allocations: 3.984 kB / 0.5803 GB, free: 8.406 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.508e-06/0.159, allocations: 0 / 0.5803 GB, free: 8.406 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.757e-06/0.159, allocations: 0 / 0.5803 GB, free: 8.406 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.117e-05/0.159, allocations: 0 / 0.5803 GB, free: 8.406 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.042e-05/0.1591, allocations: 7.938 kB / 0.5803 GB, free: 8.398 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 4.357e-05/0.1591, allocations: 4 kB / 0.5803 GB, free: 8.395 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1591, allocations: 0 / 0.5803 GB, free: 8.395 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1591, allocations: 0 / 0.5803 GB, free: 8.395 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.1591, allocations: 0 / 0.5803 GB, free: 8.395 MB / 494.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.000252/0.1594, allocations: 309.5 kB / 0.5806 GB, free: 8.043 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.1594, allocations: 8.031 kB / 0.5806 GB, free: 8.035 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.928e-05/0.1595, allocations: 34.75 kB / 0.5807 GB, free: 7.992 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.764e-05/0.1595, allocations: 0.9375 kB / 0.5807 GB, free: 7.992 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.682e-05/0.1596, allocations: 164.4 kB / 0.5808 GB, free: 7.793 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.1596, allocations: 4.375 kB / 0.5808 GB, free: 7.789 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.681e-06/0.1596, allocations: 384 / 0.5808 GB, free: 7.789 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.759e-05/0.1597, allocations: 38.2 kB / 0.5809 GB, free: 7.746 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.1597, allocations: 3.938 kB / 0.5809 GB, free: 7.742 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.781e-06/0.1597, allocations: 0 / 0.5809 GB, free: 7.742 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.1597, allocations: 0 / 0.5809 GB, free: 7.742 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.463e-05/0.1597, allocations: 0 / 0.5809 GB, free: 7.742 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001165/0.1599, allocations: 145.7 kB / 0.581 GB, free: 7.551 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.587e-05/0.1599, allocations: 22.61 kB / 0.581 GB, free: 7.52 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.326e-05/0.1599, allocations: 12.92 kB / 0.581 GB, free: 7.504 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.073e-06/0.1599, allocations: 3.984 kB / 0.581 GB, free: 7.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.16, allocations: 38.5 kB / 0.5811 GB, free: 7.453 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 7.51e-07/0.16, allocations: 0 / 0.5811 GB, free: 7.453 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001083/0.1601, allocations: 37.58 kB / 0.5811 GB, free: 7.41 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.1601, allocations: 51.41 kB / 0.5812 GB, free: 7.348 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.153e-05/0.1602, allocations: 93.98 kB / 0.5813 GB, free: 7.246 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.488e-06/0.1602, allocations: 25.7 kB / 0.5813 GB, free: 7.215 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.333e-05/0.1602, allocations: 80.14 kB / 0.5814 GB, free: 7.133 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.1602, allocations: 7.906 kB / 0.5814 GB, free: 7.125 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.858e-05/0.1603, allocations: 17.7 kB / 0.5814 GB, free: 7.102 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.836e-05/0.1604, allocations: 310.8 kB / 0.5817 GB, free: 6.789 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.727e-06/0.1604, allocations: 0 / 0.5817 GB, free: 6.789 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.31e-06/0.1604, allocations: 7.938 kB / 0.5817 GB, free: 6.781 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.27e-05/0.1604, allocations: 12.86 kB / 0.5817 GB, free: 6.766 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1604, allocations: 8 kB / 0.5817 GB, free: 6.758 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.257e-05/0.1605, allocations: 33.7 kB / 0.5817 GB, free: 6.719 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.1605, allocations: 4 kB / 0.5817 GB, free: 6.715 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1605, allocations: 3.938 kB / 0.5817 GB, free: 6.711 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.1605, allocations: 0 / 0.5817 GB, free: 6.711 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.957e-05/0.1606, allocations: 7.984 kB / 0.5818 GB, free: 6.703 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.1606, allocations: 0 / 0.5818 GB, free: 6.703 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.646e-06/0.1606, allocations: 0 / 0.5818 GB, free: 6.703 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-06/0.1606, allocations: 4.031 kB / 0.5818 GB, free: 6.699 MB / 494.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.092e-05/0.1607, allocations: 106.5 kB / 0.5819 GB, free: 6.586 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.151e-06/0.1607, allocations: 4 kB / 0.5819 GB, free: 6.582 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.747e-05/0.1607, allocations: 7.062 kB / 0.5819 GB, free: 6.57 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.1607, allocations: 0 / 0.5819 GB, free: 6.57 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.1607, allocations: 3.938 kB / 0.5819 GB, free: 6.566 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1607, allocations: 0 / 0.5819 GB, free: 6.566 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.77e-05/0.1608, allocations: 149.9 kB / 0.582 GB, free: 6.371 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1608, allocations: 0 / 0.582 GB, free: 6.371 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.858e-06/0.1608, allocations: 4 kB / 0.582 GB, free: 6.367 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.1608, allocations: 4 kB / 0.582 GB, free: 6.363 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.1608, allocations: 3.938 kB / 0.582 GB, free: 6.359 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.32e-07/0.1608, allocations: 0 / 0.582 GB, free: 6.359 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.1609, allocations: 0 / 0.582 GB, free: 6.359 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.548e-05/0.1609, allocations: 57.14 kB / 0.5821 GB, free: 6.285 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.712e-05/0.1609, allocations: 81.09 kB / 0.5822 GB, free: 6.188 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.498e-06/0.161, allocations: 3.938 kB / 0.5822 GB, free: 6.184 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.58e-06/0.161, allocations: 4.031 kB / 0.5822 GB, free: 6.18 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.246e-05/0.161, allocations: 0 / 0.5822 GB, free: 6.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-06/0.161, allocations: 0 / 0.5822 GB, free: 6.18 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.919e-05/0.161, allocations: 79.28 kB / 0.5822 GB, free: 6.102 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.161, allocations: 0 / 0.5822 GB, free: 6.102 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001595/0.1612, allocations: 4 kB / 0.5822 GB, free: 6.098 MB / 494.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.0002858/0.1615, allocations: 0.6005 MB / 0.5828 GB, free: 5.469 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.153e-05/0.1616, allocations: 4 kB / 0.5828 GB, free: 5.465 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.1616, allocations: 0 / 0.5828 GB, free: 5.465 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.945e-06/0.1616, allocations: 11.88 kB / 0.5828 GB, free: 5.453 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001197/0.1617, allocations: 0 / 0.5828 GB, free: 5.453 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002601/0.162, allocations: 114.6 kB / 0.583 GB, free: 5.301 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002035/0.1622, allocations: 0.673 MB / 0.5836 GB, free: 4.602 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.002e-05/0.1622, allocations: 0 / 0.5836 GB, free: 4.602 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.667e-05/0.1622, allocations: 7.438 kB / 0.5836 GB, free: 4.594 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1622, allocations: 0 / 0.5836 GB, free: 4.594 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.14/1.302, allocations: 0.7766 MB / 0.5844 GB, free: 3.93 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000259/1.302, allocations: 174 kB / 0.5845 GB, free: 3.676 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.014/3.316, allocations: 0 / 0.5845 GB, free: 3.676 MB / 494.1 MB (rm -f IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Time_Examples_ModelTime.fmu > IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1)