Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Time.Examples.ModelTime,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Examples.ModelTime,fileNamePrefix="IDEAS_dev_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.001076/0.001081, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001136/0.001136, allocations: 193.1 kB / 16.13 MB, free: 6.66 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.466/1.466, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.013/1.013, allocations: 135.1 MB / 425.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 63.23 kB / 0.5048 GB, free: 5.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1694, allocations: 80.93 MB / 0.5838 GB, free: 4.918 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.001825/0.1713, allocations: 0.6484 MB / 0.5844 GB, free: 4.266 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 3.902e-05/0.1713, allocations: 4 kB / 0.5844 GB, free: 4.262 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.493e-05/0.1713, allocations: 0 / 0.5844 GB, free: 4.262 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.042e-05/0.1714, allocations: 0 / 0.5844 GB, free: 4.262 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.49e-06/0.1714, allocations: 0 / 0.5844 GB, free: 4.262 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.789e-05/0.1714, allocations: 0 / 0.5844 GB, free: 4.262 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.468e-05/0.1715, allocations: 4 kB / 0.5845 GB, free: 4.258 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.238e-05/0.1715, allocations: 0 / 0.5845 GB, free: 4.258 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.166e-05/0.1715, allocations: 0 / 0.5845 GB, free: 4.258 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.02e-05/0.1716, allocations: 3.984 kB / 0.5845 GB, free: 4.254 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.317e-06/0.1716, allocations: 4 kB / 0.5845 GB, free: 4.25 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.407e-06/0.1716, allocations: 0 / 0.5845 GB, free: 4.25 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.008e-05/0.1716, allocations: 0 / 0.5845 GB, free: 4.25 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.073e-05/0.1716, allocations: 3.938 kB / 0.5845 GB, free: 4.246 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 4.735e-05/0.1717, allocations: 8 kB / 0.5845 GB, free: 4.238 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1717, allocations: 3.938 kB / 0.5845 GB, free: 4.234 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.1717, allocations: 0 / 0.5845 GB, free: 4.234 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.1717, allocations: 0 / 0.5845 GB, free: 4.234 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.0002502/0.172, allocations: 307.6 kB / 0.5848 GB, free: 3.883 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.172, allocations: 12.03 kB / 0.5848 GB, free: 3.871 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.037e-05/0.1721, allocations: 34.75 kB / 0.5848 GB, free: 3.828 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.618e-05/0.1721, allocations: 0.9375 kB / 0.5848 GB, free: 3.828 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.535e-05/0.1722, allocations: 164.3 kB / 0.585 GB, free: 3.629 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-06/0.1722, allocations: 384 / 0.585 GB, free: 3.629 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.256e-06/0.1722, allocations: 384 / 0.585 GB, free: 3.629 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.648e-05/0.1723, allocations: 34.27 kB / 0.585 GB, free: 3.59 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.1723, allocations: 3.938 kB / 0.585 GB, free: 3.586 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.1723, allocations: 3.984 kB / 0.585 GB, free: 3.582 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.1723, allocations: 0 / 0.585 GB, free: 3.582 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.495e-05/0.1723, allocations: 0 / 0.585 GB, free: 3.582 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001573/0.1725, allocations: 149.7 kB / 0.5852 GB, free: 3.387 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.13e-05/0.1726, allocations: 18.52 kB / 0.5852 GB, free: 3.359 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.683e-05/0.1726, allocations: 12.95 kB / 0.5852 GB, free: 3.344 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.1726, allocations: 0 / 0.5852 GB, free: 3.344 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.1726, allocations: 34.56 kB / 0.5852 GB, free: 3.301 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.1726, allocations: 0 / 0.5852 GB, free: 3.301 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 9.774e-05/0.1728, allocations: 41.62 kB / 0.5853 GB, free: 3.254 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.1728, allocations: 55.41 kB / 0.5853 GB, free: 3.188 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.053e-05/0.1728, allocations: 89.86 kB / 0.5854 GB, free: 3.09 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.1729, allocations: 25.7 kB / 0.5854 GB, free: 3.059 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.554e-05/0.1729, allocations: 80.14 kB / 0.5855 GB, free: 2.977 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.559e-05/0.1729, allocations: 3.906 kB / 0.5855 GB, free: 2.973 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.549e-05/0.1729, allocations: 17.66 kB / 0.5855 GB, free: 2.949 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.1731, allocations: 315 kB / 0.5858 GB, free: 2.633 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.875e-06/0.1731, allocations: 4 kB / 0.5858 GB, free: 2.629 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.793e-06/0.1731, allocations: 0 / 0.5858 GB, free: 2.629 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.127e-05/0.1731, allocations: 12.8 kB / 0.5858 GB, free: 2.613 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1731, allocations: 0 / 0.5858 GB, free: 2.613 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.75e-05/0.1732, allocations: 37.69 kB / 0.5859 GB, free: 2.57 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.1732, allocations: 4 kB / 0.5859 GB, free: 2.566 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.1732, allocations: 7.938 kB / 0.5859 GB, free: 2.559 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.818e-06/0.1732, allocations: 0 / 0.5859 GB, free: 2.559 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.567e-05/0.1733, allocations: 4.094 kB / 0.5859 GB, free: 2.555 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.1733, allocations: 3.938 kB / 0.5859 GB, free: 2.551 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.416e-06/0.1733, allocations: 0 / 0.5859 GB, free: 2.551 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.399e-06/0.1733, allocations: 0 / 0.5859 GB, free: 2.551 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.071e-05/0.1734, allocations: 109.8 kB / 0.586 GB, free: 2.434 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.45e-06/0.1734, allocations: 3.938 kB / 0.586 GB, free: 2.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.185e-05/0.1734, allocations: 11.05 kB / 0.586 GB, free: 2.418 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-06/0.1734, allocations: 0 / 0.586 GB, free: 2.418 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1734, allocations: 0 / 0.586 GB, free: 2.418 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.1734, allocations: 4 kB / 0.586 GB, free: 2.414 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.976e-05/0.1735, allocations: 150 kB / 0.5862 GB, free: 2.219 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1735, allocations: 0 / 0.5862 GB, free: 2.219 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.255e-06/0.1735, allocations: 0 / 0.5862 GB, free: 2.219 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.1735, allocations: 0 / 0.5862 GB, free: 2.219 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.1735, allocations: 3.938 kB / 0.5862 GB, free: 2.215 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1735, allocations: 0 / 0.5862 GB, free: 2.215 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.1735, allocations: 4 kB / 0.5862 GB, free: 2.211 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.615e-05/0.1736, allocations: 65.11 kB / 0.5862 GB, free: 2.129 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.055e-05/0.1737, allocations: 77.11 kB / 0.5863 GB, free: 2.035 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.1737, allocations: 3.938 kB / 0.5863 GB, free: 2.031 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.981e-06/0.1737, allocations: 3.938 kB / 0.5863 GB, free: 2.027 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.186e-05/0.1737, allocations: 4 kB / 0.5863 GB, free: 2.023 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-06/0.1737, allocations: 0 / 0.5863 GB, free: 2.023 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.434e-05/0.1737, allocations: 75.28 kB / 0.5864 GB, free: 1.949 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1737, allocations: 0 / 0.5864 GB, free: 1.949 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001734/0.1739, allocations: 4 kB / 0.5864 GB, free: 1.945 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.0003099/0.1742, allocations: 0.5968 MB / 0.587 GB, free: 1.316 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.992e-05/0.1743, allocations: 4 kB / 0.587 GB, free: 1.312 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.1743, allocations: 3.938 kB / 0.587 GB, free: 1.309 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.055e-06/0.1743, allocations: 3.984 kB / 0.587 GB, free: 1.305 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001189/0.1744, allocations: 12.09 kB / 0.587 GB, free: 1.293 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002424/0.1747, allocations: 100.4 kB / 0.5871 GB, free: 1.152 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000214/0.1749, allocations: 0.6731 MB / 0.5877 GB, free: 464 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.898e-06/0.1749, allocations: 0 / 0.5877 GB, free: 464 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.306e-05/0.1749, allocations: 7.438 kB / 0.5878 GB, free: 456 kB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.175, allocations: 0 / 0.5878 GB, free: 456 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009379/0.1843, allocations: 0.7433 MB / 0.5885 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002164/0.1846, allocations: 192.1 kB / 0.5887 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.862/2.047, allocations: 4 kB / 0.5887 GB, free: 15.54 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Time_Examples_ModelTime.fmu > IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1)