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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.005949/0.005949, allocations: 170.8 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7982/0.7982, allocations: 135.2 MB / 151 MB, free: 13.85 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 223.2 MB / 406.8 MB, free: 3.227 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008505/0.0008505, allocations: 95.02 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003738/0.0003737, allocations: 12 kB / 0.5692 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4603/0.4607, allocations: 82.3 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1466/0.6073, allocations: 110.6 MB / 0.7575 GB, free: 5.406 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/0.6076, allocations: 75.95 kB / 0.7576 GB, free: 5.332 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.00146/0.6091, allocations: 0.5419 MB / 0.7581 GB, free: 4.789 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.196e-06/0.6091, allocations: 4 kB / 0.7581 GB, free: 4.785 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.6091, allocations: 0 / 0.7581 GB, free: 4.785 MB / 0.5261 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.0003522/0.6095, allocations: 319.4 kB / 0.7584 GB, free: 4.426 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/0.6096, allocations: 8.031 kB / 0.7584 GB, free: 4.418 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.121e-05/0.6096, allocations: 30.56 kB / 0.7585 GB, free: 4.379 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002073/0.6098, allocations: 15.97 kB / 0.7585 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.6099, allocations: 167 kB / 0.7586 GB, free: 4.16 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.61, allocations: 0 / 0.7586 GB, free: 4.16 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.61, allocations: 4 kB / 0.7587 GB, free: 4.156 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.6102, allocations: 37.69 kB / 0.7587 GB, free: 4.113 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.6102, allocations: 3.938 kB / 0.7587 GB, free: 4.109 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.6102, allocations: 0 / 0.7587 GB, free: 4.109 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.6102, allocations: 4 kB / 0.7587 GB, free: 4.105 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.431e-05/0.6103, allocations: 7.984 kB / 0.7587 GB, free: 4.098 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001654/0.6105, allocations: 149.6 kB / 0.7588 GB, free: 3.902 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.723e-05/0.6106, allocations: 26.06 kB / 0.7589 GB, free: 3.871 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.6106, allocations: 0 / 0.7589 GB, free: 3.871 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.6106, allocations: 38.62 kB / 0.7589 GB, free: 3.824 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 7.62e-07/0.6106, allocations: 0 / 0.7589 GB, free: 3.824 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0002579/0.6109, allocations: 45.61 kB / 0.759 GB, free: 3.773 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/0.611, allocations: 59.53 kB / 0.759 GB, free: 3.703 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.551e-05/0.611, allocations: 85 kB / 0.7591 GB, free: 3.613 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.611, allocations: 25.7 kB / 0.7591 GB, free: 3.582 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.405e-05/0.6111, allocations: 80.14 kB / 0.7592 GB, free: 3.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.836e-05/0.6111, allocations: 3.906 kB / 0.7592 GB, free: 3.496 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-06/0.6111, allocations: 3.938 kB / 0.7592 GB, free: 3.492 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.6113, allocations: 314.8 kB / 0.7595 GB, free: 3.176 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.719e-05/0.6114, allocations: 7.984 kB / 0.7595 GB, free: 3.168 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.592e-05/0.6114, allocations: 8 kB / 0.7595 GB, free: 3.16 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.021e-05/0.6115, allocations: 7.984 kB / 0.7595 GB, free: 3.152 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.6115, allocations: 0 / 0.7595 GB, free: 3.152 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001197/0.6116, allocations: 45.58 kB / 0.7596 GB, free: 3.102 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.6116, allocations: 4 kB / 0.7596 GB, free: 3.098 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.6116, allocations: 4 kB / 0.7596 GB, free: 3.094 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.6117, allocations: 4 kB / 0.7596 GB, free: 3.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.916e-05/0.6117, allocations: 8.078 kB / 0.7596 GB, free: 3.082 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.6118, allocations: 3.938 kB / 0.7596 GB, free: 3.078 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.531e-05/0.6118, allocations: 4 kB / 0.7596 GB, free: 3.074 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.6118, allocations: 0 / 0.7596 GB, free: 3.074 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001016/0.6119, allocations: 105.8 kB / 0.7597 GB, free: 2.961 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.626e-06/0.6119, allocations: 3.953 kB / 0.7597 GB, free: 2.957 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.118e-05/0.612, allocations: 3.125 kB / 0.7597 GB, free: 2.953 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.612, allocations: 7.984 kB / 0.7597 GB, free: 2.945 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.612, allocations: 4 kB / 0.7597 GB, free: 2.941 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.612, allocations: 0 / 0.7597 GB, free: 2.941 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.6121, allocations: 145.7 kB / 0.7599 GB, free: 2.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.6121, allocations: 0 / 0.7599 GB, free: 2.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.482e-05/0.6122, allocations: 7.984 kB / 0.7599 GB, free: 2.742 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.6122, allocations: 3.953 kB / 0.7599 GB, free: 2.738 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.6122, allocations: 0 / 0.7599 GB, free: 2.738 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.6122, allocations: 0 / 0.7599 GB, free: 2.738 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.6122, allocations: 0 / 0.7599 GB, free: 2.738 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001492/0.6124, allocations: 73.06 kB / 0.7599 GB, free: 2.648 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.631e-05/0.6124, allocations: 81.09 kB / 0.76 GB, free: 2.551 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.209e-05/0.6124, allocations: 3.953 kB / 0.76 GB, free: 2.547 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.283e-05/0.6125, allocations: 4 kB / 0.76 GB, free: 2.543 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.032e-05/0.6125, allocations: 0 / 0.76 GB, free: 2.543 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.6125, allocations: 0 / 0.76 GB, free: 2.543 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.778e-05/0.6125, allocations: 75.28 kB / 0.7601 GB, free: 2.469 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6125, allocations: 32 / 0.7601 GB, free: 2.469 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001861/0.6127, allocations: 4 kB / 0.7601 GB, free: 2.465 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005054/0.6132, allocations: 0.6046 MB / 0.7607 GB, free: 1.828 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001392/0.6134, allocations: 16.02 kB / 0.7607 GB, free: 1.812 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6134, allocations: 0 / 0.7607 GB, free: 1.812 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.454e-05/0.6135, allocations: 4 kB / 0.7607 GB, free: 1.809 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.717e-05/0.6136, allocations: 9.031 kB / 0.7607 GB, free: 1.801 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000328/0.6139, allocations: 112.4 kB / 0.7608 GB, free: 1.648 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.6142, allocations: 0.6692 MB / 0.7615 GB, free: 0.9531 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.04e-05/0.6142, allocations: 8.125 kB / 0.7615 GB, free: 0.9453 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.812e-05/0.6143, allocations: 11.42 kB / 0.7615 GB, free: 0.9336 MB / 0.5261 GB Notification: Performance of SimCode: time 3.4e-07/0.6143, allocations: 0 / 0.7615 GB, free: 0.9336 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01044/0.6247, allocations: 0.7373 MB / 0.7622 GB, free: 308 kB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001651/0.6249, allocations: 170.3 kB / 0.7624 GB, free: 60 kB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.437/2.062, allocations: 0 / 0.7624 GB, free: 60 kB / 0.5261 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/linux/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)