Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.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.Math.Functions.Examples.RegStep,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegStep",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.001103/0.001102, 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.00114/0.00114, allocations: 193.2 kB / 16.13 MB, free: 6.711 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.332/1.332, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.947/0.947, allocations: 135.1 MB / 425.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 64.88 kB / 0.5048 GB, free: 5.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1612, allocations: 80.92 MB / 0.5838 GB, free: 4.898 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001778/0.163, allocations: 0.6389 MB / 0.5844 GB, free: 4.25 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002662/0.1633, allocations: 47.8 kB / 0.5845 GB, free: 4.203 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.486e-06/0.1634, allocations: 0 / 0.5845 GB, free: 4.203 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.614e-05/0.1634, allocations: 3.938 kB / 0.5845 GB, free: 4.199 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.669e-06/0.1634, allocations: 0 / 0.5845 GB, free: 4.199 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001799/0.1636, allocations: 11.98 kB / 0.5845 GB, free: 4.188 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.055e-05/0.1637, allocations: 0 / 0.5845 GB, free: 4.188 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.908e-05/0.1637, allocations: 4 kB / 0.5845 GB, free: 4.184 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.461e-05/0.1637, allocations: 0 / 0.5845 GB, free: 4.184 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.959e-05/0.1638, allocations: 0 / 0.5845 GB, free: 4.184 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.837e-06/0.1638, allocations: 4 kB / 0.5845 GB, free: 4.18 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.161e-05/0.1639, allocations: 27.95 kB / 0.5845 GB, free: 4.152 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.173e-05/0.1639, allocations: 0 / 0.5845 GB, free: 4.152 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.503e-05/0.1639, allocations: 3.938 kB / 0.5845 GB, free: 4.148 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.641e-05/0.164, allocations: 19.98 kB / 0.5846 GB, free: 4.129 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.164, allocations: 0 / 0.5846 GB, free: 4.129 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.164, allocations: 0 / 0.5846 GB, free: 4.129 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.164, allocations: 0 / 0.5846 GB, free: 4.129 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.0002506/0.1643, allocations: 311.6 kB / 0.5849 GB, free: 3.773 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.1643, allocations: 11.97 kB / 0.5849 GB, free: 3.762 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.362e-05/0.1644, allocations: 38.75 kB / 0.5849 GB, free: 3.715 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002549/0.1646, allocations: 20.91 kB / 0.5849 GB, free: 3.695 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.757e-05/0.1647, allocations: 160.4 kB / 0.5851 GB, free: 3.5 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.1647, allocations: 4.359 kB / 0.5851 GB, free: 3.496 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.1647, allocations: 384 / 0.5851 GB, free: 3.496 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.1649, allocations: 34.25 kB / 0.5851 GB, free: 3.457 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.1649, allocations: 3.938 kB / 0.5851 GB, free: 3.453 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-06/0.1649, allocations: 4 kB / 0.5851 GB, free: 3.449 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.1649, allocations: 3.984 kB / 0.5851 GB, free: 3.445 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.665e-05/0.165, allocations: 8 kB / 0.5851 GB, free: 3.438 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001239/0.1651, allocations: 149.7 kB / 0.5853 GB, free: 3.242 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.713e-05/0.1652, allocations: 22.55 kB / 0.5853 GB, free: 3.211 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.39e-05/0.1653, allocations: 12.91 kB / 0.5853 GB, free: 3.195 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.1653, allocations: 4 kB / 0.5853 GB, free: 3.191 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.1654, allocations: 34.56 kB / 0.5853 GB, free: 3.148 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/0.1654, allocations: 0 / 0.5853 GB, free: 3.148 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002328/0.1656, allocations: 57.55 kB / 0.5854 GB, free: 3.086 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.1656, allocations: 51.41 kB / 0.5855 GB, free: 3.023 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.146e-05/0.1657, allocations: 89.86 kB / 0.5855 GB, free: 2.926 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.1657, allocations: 29.83 kB / 0.5856 GB, free: 2.891 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.366e-05/0.1657, allocations: 84.08 kB / 0.5856 GB, free: 2.805 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.415e-05/0.1657, allocations: 3.906 kB / 0.5857 GB, free: 2.801 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.83e-05/0.1658, allocations: 13.72 kB / 0.5857 GB, free: 2.781 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.903e-05/0.1659, allocations: 314.8 kB / 0.586 GB, free: 2.465 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.786e-05/0.1659, allocations: 4 kB / 0.586 GB, free: 2.461 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.015e-05/0.166, allocations: 7.938 kB / 0.586 GB, free: 2.453 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.058e-05/0.1661, allocations: 20.91 kB / 0.586 GB, free: 2.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.1661, allocations: 0 / 0.586 GB, free: 2.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001302/0.1662, allocations: 49.61 kB / 0.586 GB, free: 2.375 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.1662, allocations: 4 kB / 0.586 GB, free: 2.371 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.1663, allocations: 3.938 kB / 0.5861 GB, free: 2.367 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.1663, allocations: 0 / 0.5861 GB, free: 2.367 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.195e-05/0.1663, allocations: 4 kB / 0.5861 GB, free: 2.363 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.1664, allocations: 32 / 0.5861 GB, free: 2.363 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.564e-05/0.1664, allocations: 7.984 kB / 0.5861 GB, free: 2.355 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.1664, allocations: 4 kB / 0.5861 GB, free: 2.352 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.069e-05/0.1665, allocations: 105.8 kB / 0.5862 GB, free: 2.238 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.776e-06/0.1665, allocations: 0 / 0.5862 GB, free: 2.238 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.961e-05/0.1665, allocations: 7.062 kB / 0.5862 GB, free: 2.23 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1665, allocations: 0 / 0.5862 GB, free: 2.23 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.1665, allocations: 0 / 0.5862 GB, free: 2.23 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.113e-06/0.1666, allocations: 4 kB / 0.5862 GB, free: 2.227 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.4e-05/0.1666, allocations: 153.7 kB / 0.5863 GB, free: 2.027 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1666, allocations: 0 / 0.5863 GB, free: 2.027 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.538e-05/0.1667, allocations: 4 kB / 0.5863 GB, free: 2.023 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1667, allocations: 0 / 0.5863 GB, free: 2.023 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.1667, allocations: 7.938 kB / 0.5863 GB, free: 2.016 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1667, allocations: 0 / 0.5863 GB, free: 2.016 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1667, allocations: 0 / 0.5863 GB, free: 2.016 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001449/0.1669, allocations: 77.05 kB / 0.5864 GB, free: 1.922 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.038e-05/0.1669, allocations: 77.39 kB / 0.5865 GB, free: 1.828 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.1669, allocations: 3.938 kB / 0.5865 GB, free: 1.824 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.216e-05/0.167, allocations: 0 / 0.5865 GB, free: 1.824 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.242e-05/0.167, allocations: 7.984 kB / 0.5865 GB, free: 1.816 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.167, allocations: 0 / 0.5865 GB, free: 1.816 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.416e-05/0.167, allocations: 75.28 kB / 0.5866 GB, free: 1.742 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.167, allocations: 3.938 kB / 0.5866 GB, free: 1.738 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001805/0.1672, allocations: 0 / 0.5866 GB, free: 1.738 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.0003924/0.1676, allocations: 0.6046 MB / 0.5872 GB, free: 1.102 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000135/0.1678, allocations: 15.92 kB / 0.5872 GB, free: 1.086 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1678, allocations: 4.094 kB / 0.5872 GB, free: 1.082 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.424e-05/0.1678, allocations: 4 kB / 0.5872 GB, free: 1.078 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/0.168, allocations: 4.5 kB / 0.5872 GB, free: 1.074 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003261/0.1683, allocations: 114.1 kB / 0.5873 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/0.1685, allocations: 0.677 MB / 0.588 GB, free: 228 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.504e-05/0.1686, allocations: 8.047 kB / 0.588 GB, free: 220 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.421e-05/0.1686, allocations: 7.438 kB / 0.588 GB, free: 212 kB / 494.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1686, allocations: 4 kB / 0.588 GB, free: 208 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01041/0.179, allocations: 0.8073 MB / 0.5888 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003291/0.1794, allocations: 189.8 kB / 0.5889 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.672/1.851, allocations: 0 / 0.5889 GB, free: 15.26 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegStep.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)