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.001535/0.001535, allocations: 100.8 kB / 15.06 MB, free: 1.094 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.002325/0.002325, allocations: 177.3 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.594/2.594, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.279/1.279, allocations: 132.3 MB / 423.2 MB, free: 2.203 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006458/0.000646, allocations: 8 kB / 0.5033 GB, free: 4.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7991/0.7998, allocations: 81.57 MB / 0.583 GB, free: 3.891 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.001096/0.8009, allocations: 314.6 kB / 0.5833 GB, free: 3.688 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 4.637e-05/0.801, allocations: 8.812 kB / 0.5833 GB, free: 3.68 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.688e-05/0.801, allocations: 5.062 kB / 0.5833 GB, free: 3.676 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.923e-05/0.8011, allocations: 0.75 kB / 0.5833 GB, free: 3.676 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.163e-06/0.8011, allocations: 0 / 0.5833 GB, free: 3.676 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.305e-05/0.8011, allocations: 0.9062 kB / 0.5833 GB, free: 3.676 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.635e-05/0.8012, allocations: 0 / 0.5833 GB, free: 3.676 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.571e-05/0.8013, allocations: 1.406 kB / 0.5833 GB, free: 3.676 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.826e-05/0.8013, allocations: 1 kB / 0.5833 GB, free: 3.676 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.372e-05/0.8013, allocations: 0 / 0.5833 GB, free: 3.676 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.8014, allocations: 0 / 0.5833 GB, free: 3.676 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.168e-06/0.8014, allocations: 0.75 kB / 0.5833 GB, free: 3.676 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.167e-05/0.8014, allocations: 3.938 kB / 0.5833 GB, free: 3.672 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.298e-05/0.8014, allocations: 31.16 kB / 0.5833 GB, free: 3.637 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 5.314e-05/0.8015, allocations: 0.6562 kB / 0.5833 GB, free: 3.637 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.8015, allocations: 1.219 kB / 0.5833 GB, free: 3.637 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.446e-06/0.8015, allocations: 0 / 0.5833 GB, free: 3.637 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.8015, allocations: 0 / 0.5833 GB, free: 3.637 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.0003205/0.8019, allocations: 314.5 kB / 0.5836 GB, free: 3.285 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.765e-05/0.8019, allocations: 9.641 kB / 0.5836 GB, free: 3.285 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.973e-05/0.802, allocations: 31.81 kB / 0.5837 GB, free: 3.246 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.886e-05/0.802, allocations: 0.6562 kB / 0.5837 GB, free: 3.246 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.932e-05/0.8021, allocations: 167.6 kB / 0.5838 GB, free: 3.043 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.8021, allocations: 9.125 kB / 0.5838 GB, free: 3.035 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.178e-06/0.8022, allocations: 0.6094 kB / 0.5838 GB, free: 3.035 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.8023, allocations: 28.94 kB / 0.5839 GB, free: 3.004 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.8023, allocations: 0 / 0.5839 GB, free: 3.004 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.8023, allocations: 0 / 0.5839 GB, free: 3.004 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.8023, allocations: 0 / 0.5839 GB, free: 3.004 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.332e-05/0.8024, allocations: 1.781 kB / 0.5839 GB, free: 3.004 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001544/0.8025, allocations: 156.5 kB / 0.584 GB, free: 2.805 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.629e-05/0.8026, allocations: 25.09 kB / 0.584 GB, free: 2.773 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.8026, allocations: 0 / 0.584 GB, free: 2.773 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.8027, allocations: 32.05 kB / 0.5841 GB, free: 2.734 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.031e-06/0.8027, allocations: 0 / 0.5841 GB, free: 2.734 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.00017/0.8028, allocations: 31.95 kB / 0.5841 GB, free: 2.703 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.8029, allocations: 52.53 kB / 0.5841 GB, free: 2.641 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.722e-05/0.8029, allocations: 89.86 kB / 0.5842 GB, free: 2.543 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.803, allocations: 34.62 kB / 0.5843 GB, free: 2.504 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.927e-05/0.803, allocations: 84.91 kB / 0.5843 GB, free: 2.418 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.98e-05/0.803, allocations: 4.781 kB / 0.5843 GB, free: 2.414 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-06/0.803, allocations: 0 / 0.5843 GB, free: 2.414 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.22e-05/0.8031, allocations: 312.2 kB / 0.5846 GB, free: 2.102 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.308e-05/0.8032, allocations: 0.5312 kB / 0.5846 GB, free: 2.102 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.386e-06/0.8032, allocations: 6.375 kB / 0.5846 GB, free: 2.098 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.268e-05/0.8032, allocations: 4.578 kB / 0.5847 GB, free: 2.094 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.8032, allocations: 4.938 kB / 0.5847 GB, free: 2.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.731e-05/0.8033, allocations: 31.53 kB / 0.5847 GB, free: 2.059 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.8033, allocations: 5.688 kB / 0.5847 GB, free: 2.059 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.8033, allocations: 0.6562 kB / 0.5847 GB, free: 2.059 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.8034, allocations: 1 kB / 0.5847 GB, free: 2.059 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.73e-05/0.8035, allocations: 5 kB / 0.5847 GB, free: 2.055 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.8035, allocations: 1.75 kB / 0.5847 GB, free: 2.055 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.527e-05/0.8035, allocations: 0 / 0.5847 GB, free: 2.055 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.8035, allocations: 5.156 kB / 0.5847 GB, free: 2.051 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 7.879e-05/0.8036, allocations: 115.6 kB / 0.5848 GB, free: 1.93 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.987e-06/0.8036, allocations: 0.6094 kB / 0.5848 GB, free: 1.93 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.109e-05/0.8036, allocations: 5.047 kB / 0.5848 GB, free: 1.926 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.8037, allocations: 3.938 kB / 0.5848 GB, free: 1.922 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.8037, allocations: 0.7812 kB / 0.5848 GB, free: 1.922 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.8037, allocations: 0 / 0.5848 GB, free: 1.922 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.377e-05/0.8038, allocations: 147.1 kB / 0.585 GB, free: 1.734 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.8038, allocations: 8.406 kB / 0.585 GB, free: 1.727 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.477e-05/0.8038, allocations: 1.859 kB / 0.585 GB, free: 1.727 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.8038, allocations: 0.75 kB / 0.585 GB, free: 1.727 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.8038, allocations: 4.75 kB / 0.585 GB, free: 1.723 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.8039, allocations: 0.8438 kB / 0.585 GB, free: 1.723 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.8039, allocations: 0.9688 kB / 0.585 GB, free: 1.723 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.362e-05/0.8039, allocations: 56.17 kB / 0.585 GB, free: 1.656 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.787e-05/0.804, allocations: 82.5 kB / 0.5851 GB, free: 1.559 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.804, allocations: 1.438 kB / 0.5851 GB, free: 1.559 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.167e-05/0.804, allocations: 0.75 kB / 0.5851 GB, free: 1.559 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.477e-05/0.8041, allocations: 4.031 kB / 0.5851 GB, free: 1.555 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-06/0.8041, allocations: 1.766 kB / 0.5851 GB, free: 1.555 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.564e-05/0.8041, allocations: 75.28 kB / 0.5852 GB, free: 1.48 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.8041, allocations: 0 / 0.5852 GB, free: 1.48 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003178/0.8044, allocations: 1.875 kB / 0.5852 GB, free: 1.48 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.0002901/0.8047, allocations: 0.5933 MB / 0.5858 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 8.322e-05/0.8048, allocations: 7.859 kB / 0.5858 GB, free: 0.875 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.8048, allocations: 0.7188 kB / 0.5858 GB, free: 0.875 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.205e-06/0.8048, allocations: 1.812 kB / 0.5858 GB, free: 0.875 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001518/0.805, allocations: 6.344 kB / 0.5858 GB, free: 0.875 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004074/0.8054, allocations: 102.8 kB / 0.5859 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001605/0.8056, allocations: 0.6744 MB / 0.5865 GB, free: 44 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.744e-05/0.8056, allocations: 8.812 kB / 0.5866 GB, free: 36 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.01e-05/0.8057, allocations: 7.438 kB / 0.5866 GB, free: 28 kB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.8057, allocations: 0.75 kB / 0.5866 GB, free: 28 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01743/0.8231, allocations: 0.6712 MB / 0.5872 GB, free: 15.9 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002998/0.8235, allocations: 162.8 kB / 0.5874 GB, free: 15.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.677/3.5, allocations: 3.938 kB / 0.5874 GB, free: 15.66 MB / 446.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/linux/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) Environment - environmentSimulation: