Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Math.Functions.Examples.RegStep,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="IDEAS_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.007383/0.007383, allocations: 96.2 kB / 15.73 MB, free: 6.039 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.001913/0.001913, allocations: 200.8 kB / 16.68 MB, free: 5.969 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8075/0.8075, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 66.25 kB / 0.5809 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1452, allocations: 80.2 MB / 0.6592 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001718/0.147, allocations: 0.5798 MB / 0.6598 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002564/0.1472, allocations: 47.8 kB / 0.6598 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.561e-05/0.1473, allocations: 0 / 0.6598 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.539e-05/0.1473, allocations: 0 / 0.6598 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.39e-06/0.1473, allocations: 0 / 0.6598 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002043/0.1475, allocations: 11.98 kB / 0.6599 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4e-05/0.1476, allocations: 7.938 kB / 0.6599 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.026e-05/0.1476, allocations: 0 / 0.6599 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.357e-05/0.1476, allocations: 7.922 kB / 0.6599 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.157e-05/0.1477, allocations: 7.984 kB / 0.6599 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.806e-06/0.1477, allocations: 0 / 0.6599 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.995e-05/0.1478, allocations: 19.98 kB / 0.6599 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.576e-06/0.1478, allocations: 0 / 0.6599 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.426e-05/0.1478, allocations: 0 / 0.6599 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.487e-05/0.1479, allocations: 15.98 kB / 0.6599 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1479, allocations: 0 / 0.6599 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1479, allocations: 3.938 kB / 0.6599 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.176e-06/0.1479, allocations: 0 / 0.6599 GB, free: 13.14 MB / 0.4981 GB 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.0003129/0.1482, allocations: 315.8 kB / 0.6602 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.1483, allocations: 12.03 kB / 0.6602 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.498e-05/0.1483, allocations: 30.75 kB / 0.6603 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002382/0.1486, allocations: 28.91 kB / 0.6603 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.1487, allocations: 160.4 kB / 0.6604 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.1487, allocations: 384 / 0.6604 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.1487, allocations: 4.359 kB / 0.6604 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.1489, allocations: 34.25 kB / 0.6605 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.1489, allocations: 15.86 kB / 0.6605 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.725e-06/0.1489, allocations: 0 / 0.6605 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.1489, allocations: 0 / 0.6605 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.537e-05/0.149, allocations: 15.92 kB / 0.6605 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001511/0.1492, allocations: 141.7 kB / 0.6606 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.015e-05/0.1493, allocations: 26.94 kB / 0.6607 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.575e-05/0.1493, allocations: 12.92 kB / 0.6607 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.1494, allocations: 0 / 0.6607 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.1494, allocations: 30.56 kB / 0.6607 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.1494, allocations: 0 / 0.6607 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0002488/0.1497, allocations: 53.55 kB / 0.6608 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.1497, allocations: 51.41 kB / 0.6608 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.561e-05/0.1498, allocations: 89.98 kB / 0.6609 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.1498, allocations: 29.7 kB / 0.6609 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.136e-05/0.1498, allocations: 90.47 kB / 0.661 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.1499, allocations: 7.953 kB / 0.661 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.588e-05/0.1499, allocations: 17.7 kB / 0.661 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.15, allocations: 310.8 kB / 0.6613 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.024e-05/0.1501, allocations: 4 kB / 0.6613 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.445e-05/0.1502, allocations: 7.984 kB / 0.6613 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.544e-05/0.1503, allocations: 16.91 kB / 0.6614 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.269e-06/0.1503, allocations: 4 kB / 0.6614 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001307/0.1504, allocations: 45.62 kB / 0.6614 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.1504, allocations: 6.344 kB / 0.6614 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1504, allocations: 3.938 kB / 0.6614 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.1505, allocations: 0 / 0.6614 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.153e-05/0.1505, allocations: 4.031 kB / 0.6614 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.1506, allocations: 7.984 kB / 0.6614 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.491e-05/0.1506, allocations: 4 kB / 0.6614 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.1506, allocations: 0 / 0.6614 GB, free: 11.36 MB / 0.4981 GB 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 8.024e-05/0.1507, allocations: 106.5 kB / 0.6615 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.924e-06/0.1507, allocations: 0 / 0.6615 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.507e-05/0.1507, allocations: 11 kB / 0.6615 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1508, allocations: 4 kB / 0.6615 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1508, allocations: 0 / 0.6615 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1508, allocations: 4 kB / 0.6616 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.1509, allocations: 153.6 kB / 0.6617 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1509, allocations: 0 / 0.6617 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.594e-05/0.1509, allocations: 4 kB / 0.6617 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.151, allocations: 0 / 0.6617 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.151, allocations: 7.922 kB / 0.6617 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.768e-06/0.151, allocations: 0 / 0.6617 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.151, allocations: 3.938 kB / 0.6617 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001596/0.1511, allocations: 69.12 kB / 0.6618 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.48e-05/0.1512, allocations: 77.11 kB / 0.6619 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.1512, allocations: 3.938 kB / 0.6619 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.623e-05/0.1513, allocations: 7.984 kB / 0.6619 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.114e-05/0.1513, allocations: 4 kB / 0.6619 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.1513, allocations: 0 / 0.6619 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.469e-05/0.1513, allocations: 75.28 kB / 0.6619 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.1513, allocations: 0 / 0.6619 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001806/0.1515, allocations: 4.031 kB / 0.6619 GB, free: 10.73 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.000483/0.152, allocations: 0.6046 MB / 0.6625 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001504/0.1522, allocations: 16.02 kB / 0.6626 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1522, allocations: 0 / 0.6626 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.697e-05/0.1522, allocations: 4 kB / 0.6626 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001306/0.1524, allocations: 0 / 0.6626 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003471/0.1527, allocations: 121.5 kB / 0.6627 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.153, allocations: 0.669 MB / 0.6633 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.534e-05/0.1531, allocations: 8.062 kB / 0.6633 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.751e-05/0.1531, allocations: 7.438 kB / 0.6633 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1531, allocations: 4 kB / 0.6633 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1979/0.351, allocations: 0.9268 MB / 0.6642 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.264/8.615, allocations: 13.06 kB / 0.6643 GB, free: 8.367 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegStep.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)