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.001227/0.001227, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006985/0.006985, allocations: 172 kB / 16.27 MB, free: 6.367 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.344/1.344, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.767/0.767, allocations: 132.3 MB / 423.8 MB, free: 1.996 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003473/0.0003473, allocations: 8 kB / 0.5041 GB, free: 3.852 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4636/0.464, allocations: 81.57 MB / 0.5837 GB, free: 4.074 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.000852/0.4649, allocations: 329.7 kB / 0.5841 GB, free: 3.859 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 4.018e-05/0.465, allocations: 4.047 kB / 0.5841 GB, free: 3.859 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.511e-05/0.465, allocations: 0.7812 kB / 0.5841 GB, free: 3.859 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.96e-05/0.465, allocations: 0 / 0.5841 GB, free: 3.859 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.242e-06/0.465, allocations: 1.219 kB / 0.5841 GB, free: 3.859 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.832e-05/0.4651, allocations: 0 / 0.5841 GB, free: 3.859 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.317e-05/0.4651, allocations: 4.562 kB / 0.5841 GB, free: 3.855 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.727e-05/0.4652, allocations: 5.797 kB / 0.5841 GB, free: 3.852 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.605e-05/0.4652, allocations: 0.6562 kB / 0.5841 GB, free: 3.852 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.067e-05/0.4653, allocations: 0.7031 kB / 0.5841 GB, free: 3.852 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.4653, allocations: 0.5938 kB / 0.5841 GB, free: 3.852 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.709e-06/0.4653, allocations: 0 / 0.5841 GB, free: 3.852 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.572e-05/0.4653, allocations: 0.5625 kB / 0.5841 GB, free: 3.852 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.158e-05/0.4653, allocations: 31.16 kB / 0.5841 GB, free: 3.816 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 4.764e-05/0.4654, allocations: 4.641 kB / 0.5841 GB, free: 3.812 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4654, allocations: 0 / 0.5841 GB, free: 3.812 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.4654, allocations: 4.594 kB / 0.5841 GB, free: 3.809 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.4654, allocations: 0.625 kB / 0.5841 GB, free: 3.809 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.0002083/0.4656, allocations: 310 kB / 0.5844 GB, free: 3.457 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.4657, allocations: 10.94 kB / 0.5844 GB, free: 3.457 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.729e-05/0.4657, allocations: 30.75 kB / 0.5844 GB, free: 3.418 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.977e-05/0.4657, allocations: 9.875 kB / 0.5845 GB, free: 3.41 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.853e-05/0.4658, allocations: 161.9 kB / 0.5846 GB, free: 3.215 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.4658, allocations: 384 / 0.5846 GB, free: 3.215 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.703e-06/0.4658, allocations: 1.156 kB / 0.5846 GB, free: 3.215 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.806e-05/0.4659, allocations: 28.75 kB / 0.5846 GB, free: 3.184 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.4659, allocations: 3.938 kB / 0.5846 GB, free: 3.18 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-06/0.4659, allocations: 5.062 kB / 0.5846 GB, free: 3.176 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.466, allocations: 0.8438 kB / 0.5846 GB, free: 3.176 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.568e-05/0.466, allocations: 1.125 kB / 0.5846 GB, free: 3.176 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.535e-05/0.4661, allocations: 144.9 kB / 0.5848 GB, free: 2.988 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.777e-05/0.4661, allocations: 24.83 kB / 0.5848 GB, free: 2.957 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.067e-05/0.4661, allocations: 11.97 kB / 0.5848 GB, free: 2.945 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.596e-06/0.4662, allocations: 0 / 0.5848 GB, free: 2.945 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.486e-05/0.4662, allocations: 36.02 kB / 0.5849 GB, free: 2.902 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 6.91e-07/0.4662, allocations: 0 / 0.5849 GB, free: 2.902 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001035/0.4663, allocations: 35.45 kB / 0.5849 GB, free: 2.867 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/0.4663, allocations: 60.73 kB / 0.5849 GB, free: 2.797 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.727e-05/0.4663, allocations: 89.86 kB / 0.585 GB, free: 2.699 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.422e-06/0.4664, allocations: 26.89 kB / 0.5851 GB, free: 2.668 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.368e-06/0.4664, allocations: 80.14 kB / 0.5851 GB, free: 2.586 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.4664, allocations: 5.672 kB / 0.5851 GB, free: 2.582 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.591e-05/0.4664, allocations: 13.72 kB / 0.5852 GB, free: 2.562 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.241e-05/0.4665, allocations: 312.7 kB / 0.5855 GB, free: 2.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.272e-06/0.4665, allocations: 0 / 0.5855 GB, free: 2.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.46e-06/0.4665, allocations: 2.578 kB / 0.5855 GB, free: 2.25 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.984e-05/0.4665, allocations: 11.05 kB / 0.5855 GB, free: 2.238 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.4665, allocations: 0 / 0.5855 GB, free: 2.238 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.153e-05/0.4666, allocations: 32.45 kB / 0.5855 GB, free: 2.207 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.4666, allocations: 16.91 kB / 0.5855 GB, free: 2.199 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.4666, allocations: 3.938 kB / 0.5855 GB, free: 2.195 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.4666, allocations: 3.938 kB / 0.5855 GB, free: 2.191 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.344e-05/0.4667, allocations: 2.469 kB / 0.5855 GB, free: 2.191 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.4667, allocations: 0 / 0.5855 GB, free: 2.191 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.035e-05/0.4667, allocations: 4 kB / 0.5855 GB, free: 2.188 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-06/0.4667, allocations: 2.312 kB / 0.5855 GB, free: 2.188 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 4.146e-05/0.4667, allocations: 109.6 kB / 0.5856 GB, free: 2.074 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.929e-06/0.4667, allocations: 0 / 0.5856 GB, free: 2.074 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.265e-05/0.4668, allocations: 15.61 kB / 0.5856 GB, free: 2.059 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.4668, allocations: 0 / 0.5856 GB, free: 2.059 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.4668, allocations: 2.281 kB / 0.5857 GB, free: 2.059 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-06/0.4668, allocations: 0 / 0.5857 GB, free: 2.059 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.466e-05/0.4668, allocations: 151.6 kB / 0.5858 GB, free: 1.867 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.4668, allocations: 0 / 0.5858 GB, free: 1.867 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.008e-05/0.4669, allocations: 2.188 kB / 0.5858 GB, free: 1.867 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.4669, allocations: 0 / 0.5858 GB, free: 1.867 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.4669, allocations: 3.938 kB / 0.5858 GB, free: 1.863 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.4669, allocations: 1.766 kB / 0.5858 GB, free: 1.863 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.4669, allocations: 0 / 0.5858 GB, free: 1.863 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.261e-05/0.4669, allocations: 60.19 kB / 0.5859 GB, free: 1.793 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.488e-05/0.4669, allocations: 83.72 kB / 0.5859 GB, free: 1.695 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.977e-06/0.467, allocations: 4.594 kB / 0.5859 GB, free: 1.691 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.362e-06/0.467, allocations: 0 / 0.5859 GB, free: 1.691 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.231e-05/0.467, allocations: 1.312 kB / 0.5859 GB, free: 1.691 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-06/0.467, allocations: 0.9062 kB / 0.5859 GB, free: 1.691 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.768e-06/0.467, allocations: 75.28 kB / 0.586 GB, free: 1.617 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.467, allocations: 4.75 kB / 0.586 GB, free: 1.613 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000193/0.4672, allocations: 0.7812 kB / 0.586 GB, free: 1.613 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.0002095/0.4674, allocations: 0.587 MB / 0.5866 GB, free: 1.02 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.435e-05/0.4675, allocations: 7.453 kB / 0.5866 GB, free: 1.016 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4675, allocations: 5.438 kB / 0.5866 GB, free: 1.012 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.81e-06/0.4675, allocations: 1.688 kB / 0.5866 GB, free: 1.012 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001385/0.4677, allocations: 1.906 kB / 0.5866 GB, free: 1.012 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002252/0.4679, allocations: 107.1 kB / 0.5867 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.851e-05/0.468, allocations: 0.6723 MB / 0.5874 GB, free: 180 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.859e-06/0.468, allocations: 0 / 0.5874 GB, free: 180 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.333e-05/0.468, allocations: 7.438 kB / 0.5874 GB, free: 172 kB / 430.1 MB Notification: Performance of SimCode: time 2.1e-07/0.468, allocations: 1.281 kB / 0.5874 GB, free: 172 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08186/0.5499, allocations: 0.6836 MB / 0.588 GB, free: 36 kB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002576/0.5502, allocations: 173.4 kB / 0.5882 GB, free: 15.79 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.867/2.417, allocations: 5.188 kB / 0.5882 GB, free: 15.78 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/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)