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.0009424/0.0009424, allocations: 90.91 kB / 15.36 MB, free: 0.7383 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.00929/0.00929, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.323/1.323, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8785/0.8785, allocations: 135.3 MB / 426.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000433/0.000433, allocations: 13.14 kB / 0.5077 GB, free: 4.676 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1495, allocations: 82.3 MB / 0.5881 GB, free: 2.539 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.0005341/0.1501, allocations: 311.1 kB / 0.5884 GB, free: 2.23 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001941/0.1503, allocations: 51.8 kB / 0.5884 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.933e-06/0.1503, allocations: 0 / 0.5884 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.528e-06/0.1504, allocations: 0 / 0.5884 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.346e-06/0.1504, allocations: 0 / 0.5884 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001388/0.1505, allocations: 11.98 kB / 0.5884 GB, free: 2.168 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.683e-05/0.1505, allocations: 4 kB / 0.5884 GB, free: 2.164 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.882e-05/0.1506, allocations: 0 / 0.5884 GB, free: 2.164 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.237e-06/0.1506, allocations: 0 / 0.5884 GB, free: 2.164 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.18e-05/0.1506, allocations: 0 / 0.5884 GB, free: 2.164 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.007e-06/0.1506, allocations: 3.984 kB / 0.5885 GB, free: 2.16 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.593e-05/0.1507, allocations: 31.97 kB / 0.5885 GB, free: 2.129 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.552e-06/0.1507, allocations: 3.938 kB / 0.5885 GB, free: 2.125 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.972e-05/0.1507, allocations: 25.7 kB / 0.5885 GB, free: 2.094 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.024e-05/0.1508, allocations: 15.98 kB / 0.5885 GB, free: 2.078 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.1508, allocations: 0 / 0.5885 GB, free: 2.078 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1508, allocations: 0 / 0.5885 GB, free: 2.078 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.895e-06/0.1508, allocations: 0 / 0.5885 GB, free: 2.078 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.0001862/0.151, allocations: 313.3 kB / 0.5888 GB, free: 1.723 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.1511, allocations: 12.09 kB / 0.5888 GB, free: 1.711 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.24e-05/0.1511, allocations: 34.69 kB / 0.5889 GB, free: 1.668 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001938/0.1513, allocations: 20.91 kB / 0.5889 GB, free: 1.648 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.169e-05/0.1514, allocations: 164.3 kB / 0.589 GB, free: 1.449 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.527e-06/0.1514, allocations: 384 / 0.589 GB, free: 1.449 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.061e-06/0.1514, allocations: 384 / 0.589 GB, free: 1.449 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.985e-05/0.1515, allocations: 38.25 kB / 0.5891 GB, free: 1.406 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.38e-06/0.1515, allocations: 3.938 kB / 0.5891 GB, free: 1.402 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.058e-06/0.1515, allocations: 0 / 0.5891 GB, free: 1.402 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.054e-06/0.1515, allocations: 4 kB / 0.5891 GB, free: 1.398 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.419e-05/0.1516, allocations: 7.984 kB / 0.5891 GB, free: 1.391 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.368e-05/0.1517, allocations: 149.7 kB / 0.5892 GB, free: 1.195 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.615e-05/0.1518, allocations: 22.55 kB / 0.5893 GB, free: 1.164 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.261e-05/0.1518, allocations: 12.91 kB / 0.5893 GB, free: 1.148 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/0.1518, allocations: 3.984 kB / 0.5893 GB, free: 1.145 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.542e-05/0.1519, allocations: 38.56 kB / 0.5893 GB, free: 1.098 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.1519, allocations: 0 / 0.5893 GB, free: 1.098 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001869/0.152, allocations: 53.61 kB / 0.5894 GB, free: 1.039 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.472e-05/0.1521, allocations: 51.41 kB / 0.5894 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.502e-05/0.1521, allocations: 93.8 kB / 0.5895 GB, free: 0.875 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.1521, allocations: 25.7 kB / 0.5895 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.976e-05/0.1522, allocations: 84.27 kB / 0.5896 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.1522, allocations: 3.906 kB / 0.5896 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.873e-05/0.1522, allocations: 13.66 kB / 0.5896 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.427e-05/0.1523, allocations: 314.8 kB / 0.5899 GB, free: 428 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.435e-05/0.1523, allocations: 7.984 kB / 0.5899 GB, free: 420 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.604e-05/0.1524, allocations: 4 kB / 0.5899 GB, free: 416 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.66e-05/0.1525, allocations: 24.91 kB / 0.59 GB, free: 388 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1525, allocations: 0 / 0.59 GB, free: 388 kB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001107/0.1526, allocations: 37.69 kB / 0.59 GB, free: 344 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.1526, allocations: 6.031 kB / 0.59 GB, free: 340 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1526, allocations: 3.938 kB / 0.59 GB, free: 336 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.833e-06/0.1526, allocations: 0 / 0.59 GB, free: 336 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.03e-05/0.1527, allocations: 7.984 kB / 0.59 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1527, allocations: 3.938 kB / 0.59 GB, free: 324 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.015e-05/0.1527, allocations: 4 kB / 0.59 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-06/0.1527, allocations: 4.031 kB / 0.59 GB, free: 316 kB / 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 4.871e-05/0.1528, allocations: 105.8 kB / 0.5901 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.614e-06/0.1528, allocations: 3.984 kB / 0.5901 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.203e-05/0.1528, allocations: 11.06 kB / 0.5901 GB, free: 184 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.1528, allocations: 4 kB / 0.5901 GB, free: 180 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.1528, allocations: 0 / 0.5901 GB, free: 180 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-06/0.1528, allocations: 0 / 0.5901 GB, free: 180 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.86e-05/0.1529, allocations: 149.6 kB / 0.5903 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1529, allocations: 4 kB / 0.5903 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.867e-05/0.153, allocations: 7.984 kB / 0.5903 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.153, allocations: 0 / 0.5903 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.153, allocations: 3.938 kB / 0.5903 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.153, allocations: 0 / 0.5903 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.153, allocations: 0 / 0.5903 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001253/0.1531, allocations: 69.11 kB / 0.5904 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.257e-05/0.1532, allocations: 81.42 kB / 0.5904 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.1532, allocations: 3.938 kB / 0.5905 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.005e-05/0.1532, allocations: 7.938 kB / 0.5905 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.596e-06/0.1532, allocations: 0 / 0.5905 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.1532, allocations: 3.938 kB / 0.5905 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.802e-05/0.1533, allocations: 75.28 kB / 0.5905 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1533, allocations: 0 / 0.5905 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001602/0.1534, allocations: 0 / 0.5905 GB, free: 15.69 MB / 0.4981 GB 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.0003234/0.1538, allocations: 0.6046 MB / 0.5911 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001036/0.1539, allocations: 11.98 kB / 0.5911 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1539, allocations: 3.938 kB / 0.5911 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.268e-05/0.1539, allocations: 12.08 kB / 0.5912 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001096/0.154, allocations: 3.938 kB / 0.5912 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002458/0.1543, allocations: 114.1 kB / 0.5913 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000157/0.1545, allocations: 0.6692 MB / 0.5919 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.062e-05/0.1545, allocations: 4.062 kB / 0.5919 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.775e-05/0.1545, allocations: 7.438 kB / 0.5919 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.1545, allocations: 4 kB / 0.5919 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.102/1.257, allocations: 0.7591 MB / 0.5927 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002754/1.257, allocations: 184.7 kB / 0.5928 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.55/2.808, allocations: 0 / 0.5928 GB, free: 13.3 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)