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.001428/0.001428, allocations: 108 kB / 15.6 MB, free: 132 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.001965/0.001965, allocations: 191.4 kB / 16.53 MB, free: 6.391 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.322/1.322, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9531/0.9531, allocations: 135.1 MB / 425.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 60.56 kB / 0.5054 GB, free: 5.207 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1485, allocations: 80.92 MB / 0.5845 GB, free: 4.438 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.002291/0.1509, allocations: 0.5706 MB / 0.585 GB, free: 3.863 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 4.307e-05/0.1509, allocations: 8 kB / 0.585 GB, free: 3.855 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.002e-05/0.151, allocations: 0 / 0.585 GB, free: 3.855 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.474e-05/0.151, allocations: 0 / 0.585 GB, free: 3.855 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.302e-06/0.151, allocations: 0 / 0.585 GB, free: 3.855 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.559e-05/0.1511, allocations: 0 / 0.585 GB, free: 3.855 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.29e-05/0.1511, allocations: 0 / 0.585 GB, free: 3.855 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.825e-05/0.1512, allocations: 7.938 kB / 0.585 GB, free: 3.848 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.533e-05/0.1512, allocations: 0 / 0.585 GB, free: 3.848 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.588e-05/0.1512, allocations: 7.984 kB / 0.585 GB, free: 3.84 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.1513, allocations: 0 / 0.585 GB, free: 3.84 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.627e-06/0.1513, allocations: 0 / 0.585 GB, free: 3.84 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.241e-05/0.1513, allocations: 4 kB / 0.5851 GB, free: 3.836 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.632e-05/0.1513, allocations: 3.938 kB / 0.5851 GB, free: 3.832 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.847e-05/0.1514, allocations: 3.984 kB / 0.5851 GB, free: 3.828 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1514, allocations: 0 / 0.5851 GB, free: 3.828 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.886e-06/0.1514, allocations: 0 / 0.5851 GB, free: 3.828 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.1514, allocations: 4 kB / 0.5851 GB, free: 3.824 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.0003209/0.1517, allocations: 307.5 kB / 0.5854 GB, free: 3.473 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.1518, allocations: 12.06 kB / 0.5854 GB, free: 3.461 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.829e-05/0.1518, allocations: 30.75 kB / 0.5854 GB, free: 3.422 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.063e-05/0.1519, allocations: 0.9375 kB / 0.5854 GB, free: 3.422 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.748e-05/0.152, allocations: 172.4 kB / 0.5856 GB, free: 3.215 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.152, allocations: 384 / 0.5856 GB, free: 3.215 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.094e-06/0.152, allocations: 384 / 0.5856 GB, free: 3.215 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.1521, allocations: 34.27 kB / 0.5856 GB, free: 3.176 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.1521, allocations: 3.938 kB / 0.5856 GB, free: 3.172 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.1521, allocations: 3.984 kB / 0.5856 GB, free: 3.168 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1522, allocations: 0 / 0.5856 GB, free: 3.168 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.717e-05/0.1522, allocations: 0 / 0.5856 GB, free: 3.168 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001657/0.1523, allocations: 153.7 kB / 0.5858 GB, free: 2.969 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.164e-05/0.1524, allocations: 26.5 kB / 0.5858 GB, free: 2.934 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.744e-05/0.1524, allocations: 8.922 kB / 0.5858 GB, free: 2.922 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.027e-05/0.1524, allocations: 0 / 0.5858 GB, free: 2.922 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.1525, allocations: 30.56 kB / 0.5858 GB, free: 2.883 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.1525, allocations: 0 / 0.5858 GB, free: 2.883 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001295/0.1526, allocations: 37.58 kB / 0.5859 GB, free: 2.84 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.1527, allocations: 55.53 kB / 0.5859 GB, free: 2.773 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.621e-05/0.1527, allocations: 93.86 kB / 0.586 GB, free: 2.672 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.1527, allocations: 29.7 kB / 0.586 GB, free: 2.637 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.994e-05/0.1528, allocations: 80.14 kB / 0.5861 GB, free: 2.555 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.088e-05/0.1528, allocations: 3.906 kB / 0.5861 GB, free: 2.551 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.398e-05/0.1528, allocations: 9.719 kB / 0.5861 GB, free: 2.535 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.153, allocations: 314.8 kB / 0.5864 GB, free: 2.219 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.072e-05/0.153, allocations: 4 kB / 0.5864 GB, free: 2.215 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.284e-06/0.153, allocations: 4 kB / 0.5864 GB, free: 2.211 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.755e-05/0.153, allocations: 16.8 kB / 0.5864 GB, free: 2.191 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1531, allocations: 0 / 0.5864 GB, free: 2.191 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.129e-05/0.1531, allocations: 33.64 kB / 0.5865 GB, free: 2.152 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.1531, allocations: 7.938 kB / 0.5865 GB, free: 2.145 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.1531, allocations: 3.938 kB / 0.5865 GB, free: 2.141 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.1532, allocations: 0 / 0.5865 GB, free: 2.141 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.489e-05/0.1532, allocations: 4 kB / 0.5865 GB, free: 2.137 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1532, allocations: 4.094 kB / 0.5865 GB, free: 2.133 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.249e-05/0.1532, allocations: 3.984 kB / 0.5865 GB, free: 2.129 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.1533, allocations: 0 / 0.5865 GB, free: 2.129 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 7.446e-05/0.1533, allocations: 109.8 kB / 0.5866 GB, free: 2.012 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.37e-06/0.1533, allocations: 0 / 0.5866 GB, free: 2.012 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.93e-05/0.1534, allocations: 7.062 kB / 0.5866 GB, free: 2.004 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.1534, allocations: 0 / 0.5866 GB, free: 2.004 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.1534, allocations: 0 / 0.5866 GB, free: 2.004 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.1534, allocations: 0 / 0.5866 GB, free: 2.004 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.465e-05/0.1535, allocations: 150 kB / 0.5867 GB, free: 1.809 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.1535, allocations: 4 kB / 0.5867 GB, free: 1.805 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.151e-05/0.1535, allocations: 4 kB / 0.5868 GB, free: 1.801 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.1535, allocations: 0 / 0.5868 GB, free: 1.801 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.1535, allocations: 3.938 kB / 0.5868 GB, free: 1.797 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.1535, allocations: 0 / 0.5868 GB, free: 1.797 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1536, allocations: 0 / 0.5868 GB, free: 1.797 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.368e-05/0.1536, allocations: 61.08 kB / 0.5868 GB, free: 1.719 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.587e-05/0.1537, allocations: 85.12 kB / 0.5869 GB, free: 1.617 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.1537, allocations: 3.938 kB / 0.5869 GB, free: 1.613 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.434e-06/0.1537, allocations: 0 / 0.5869 GB, free: 1.613 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.232e-05/0.1537, allocations: 0 / 0.5869 GB, free: 1.613 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.1537, allocations: 4 kB / 0.5869 GB, free: 1.609 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.844e-05/0.1538, allocations: 79.28 kB / 0.587 GB, free: 1.531 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1538, allocations: 0 / 0.587 GB, free: 1.531 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001994/0.154, allocations: 0 / 0.587 GB, free: 1.531 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.0003255/0.1543, allocations: 0.5968 MB / 0.5876 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.296e-05/0.1544, allocations: 7.938 kB / 0.5876 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1544, allocations: 0 / 0.5876 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.472e-06/0.1544, allocations: 0 / 0.5876 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.1545, allocations: 5.484 kB / 0.5876 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002714/0.1548, allocations: 114.8 kB / 0.5877 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002116/0.155, allocations: 0.6768 MB / 0.5883 GB, free: 36 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.417e-06/0.1551, allocations: 0 / 0.5883 GB, free: 36 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.647e-05/0.1551, allocations: 7.438 kB / 0.5884 GB, free: 28 kB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1551, allocations: 3.938 kB / 0.5884 GB, free: 24 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01618/0.1713, allocations: 0.8573 MB / 0.5892 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.589/7.761, allocations: 3.938 kB / 0.5892 GB, free: 15.23 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_dev_IDEAS_Utilities_Time_Examples_ModelTime.fmu > IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1)