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.001295/0.001295, allocations: 174.3 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7171/0.7171, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.38/1.38, allocations: 221.3 MB / 400.4 MB, free: 5.82 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008137/0.0008138, allocations: 83.86 kB / 483.3 MB, free: 5.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.509e-05/3.512e-05, allocations: 4.688 kB / 0.5601 GB, free: 87.8 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.144, allocations: 82.3 MB / 0.6405 GB, free: 7.699 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5613/0.7054, allocations: 110.5 MB / 0.7484 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002725/0.7057, allocations: 72.67 kB / 0.7485 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.001923/0.7076, allocations: 0.5379 MB / 0.749 GB, free: 27.66 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7077, allocations: 0 / 0.749 GB, free: 27.66 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.7077, allocations: 0 / 0.749 GB, free: 27.66 MB / 0.5105 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.0002436/0.7079, allocations: 317.6 kB / 0.7493 GB, free: 27.32 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.708, allocations: 9.938 kB / 0.7493 GB, free: 27.32 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.5e-05/0.708, allocations: 35.48 kB / 0.7494 GB, free: 27.28 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001861/0.7082, allocations: 13.92 kB / 0.7494 GB, free: 27.28 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.603e-05/0.7083, allocations: 165.8 kB / 0.7495 GB, free: 27.08 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.7084, allocations: 0 / 0.7495 GB, free: 27.08 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.7084, allocations: 4 kB / 0.7496 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.7085, allocations: 36.06 kB / 0.7496 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.7085, allocations: 0 / 0.7496 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.7085, allocations: 0 / 0.7496 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.7085, allocations: 0 / 0.7496 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.714e-05/0.7086, allocations: 5.734 kB / 0.7496 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001449/0.7087, allocations: 156.2 kB / 0.7497 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.135e-05/0.7088, allocations: 26.3 kB / 0.7498 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.668e-05/0.7088, allocations: 8.859 kB / 0.7498 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.7088, allocations: 0 / 0.7498 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.7089, allocations: 37.44 kB / 0.7498 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.7089, allocations: 0 / 0.7498 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001305/0.709, allocations: 32.55 kB / 0.7498 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/0.709, allocations: 51.41 kB / 0.7499 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.878e-05/0.7091, allocations: 88.94 kB / 0.75 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.7091, allocations: 29.73 kB / 0.75 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.894e-05/0.7091, allocations: 80.14 kB / 0.7501 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.005e-05/0.7092, allocations: 4.688 kB / 0.7501 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-06/0.7092, allocations: 0 / 0.7501 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.7093, allocations: 317.6 kB / 0.7504 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.142e-05/0.7093, allocations: 0 / 0.7504 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.287e-06/0.7093, allocations: 0 / 0.7504 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.435e-05/0.7094, allocations: 10.83 kB / 0.7504 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.7094, allocations: 4.062 kB / 0.7504 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.286e-05/0.7094, allocations: 33.5 kB / 0.7504 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.7095, allocations: 8.781 kB / 0.7504 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.279e-06/0.7095, allocations: 0 / 0.7504 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.7095, allocations: 0 / 0.7504 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.792e-05/0.7096, allocations: 6.328 kB / 0.7504 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.7096, allocations: 0 / 0.7504 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.395e-05/0.7096, allocations: 3.188 kB / 0.7505 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.7096, allocations: 0 / 0.7505 GB, free: 26.1 MB / 0.5105 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 () * 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 6.991e-05/0.7097, allocations: 118.1 kB / 0.7506 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.927e-06/0.7097, allocations: 3.953 kB / 0.7506 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.226e-05/0.7098, allocations: 3.812 kB / 0.7506 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.7098, allocations: 0 / 0.7506 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.7098, allocations: 0 / 0.7506 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.7098, allocations: 0 / 0.7506 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.776e-05/0.7099, allocations: 148.7 kB / 0.7507 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.7099, allocations: 2.938 kB / 0.7507 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.163e-05/0.7099, allocations: 2.859 kB / 0.7507 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.71, allocations: 11.83 kB / 0.7507 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.605e-06/0.71, allocations: 0 / 0.7507 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.71, allocations: 0 / 0.7507 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.71, allocations: 0 / 0.7507 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.445e-05/0.7101, allocations: 59.27 kB / 0.7508 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.91e-05/0.7101, allocations: 77.11 kB / 0.7509 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.7101, allocations: 3.953 kB / 0.7509 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.388e-05/0.7102, allocations: 2.812 kB / 0.7509 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.421e-05/0.7102, allocations: 11.91 kB / 0.7509 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.7102, allocations: 3.844 kB / 0.7509 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.767e-05/0.7102, allocations: 75.28 kB / 0.751 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7102, allocations: 0 / 0.751 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002275/0.7105, allocations: 0 / 0.751 GB, free: 25.54 MB / 0.5105 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 () * 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.0003411/0.7108, allocations: 0.5901 MB / 0.7515 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 5.865e-05/0.7109, allocations: 10.38 kB / 0.7515 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.7109, allocations: 0 / 0.7515 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.196e-05/0.7109, allocations: 7.406 kB / 0.7515 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.961e-05/0.711, allocations: 7.891 kB / 0.7516 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002813/0.7113, allocations: 73.94 kB / 0.7516 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/0.7116, allocations: 0.672 MB / 0.7523 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.674e-05/0.7116, allocations: 7.875 kB / 0.7523 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.499e-05/0.7116, allocations: 7.438 kB / 0.7523 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of SimCode: time 4.8e-07/0.7116, allocations: 0 / 0.7523 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01137/0.723, allocations: 0.743 MB / 0.753 GB, free: 23.99 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001408/0.7232, allocations: 143.6 kB / 0.7532 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.496/2.219, allocations: 3.938 kB / 0.7532 GB, free: 23.77 MB / 0.5105 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)