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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.002133/0.002133, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7611/0.7611, allocations: 133.6 MB / 141.6 MB, free: 2.879 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.576/1.576, allocations: 221.5 MB / 395.5 MB, free: 10.8 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.0009053/0.0009052, allocations: 92.73 kB / 478.2 MB, free: 1.281 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 5.653e-05/5.621e-05, allocations: 8 kB / 0.5536 GB, free: 8.902 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.483/0.4831, allocations: 82.3 MB / 0.6339 GB, free: 40.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1286/0.6118, allocations: 109.8 MB / 0.7412 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/0.6121, allocations: 79.94 kB / 0.7413 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.001306/0.6134, allocations: 0.538 MB / 0.7418 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6134, allocations: 0 / 0.7418 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.6134, allocations: 0 / 0.7418 GB, free: 12.27 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.0002532/0.6137, allocations: 318.5 kB / 0.7421 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.6137, allocations: 8.031 kB / 0.7421 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001694/0.6139, allocations: 15.97 kB / 0.7421 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.777e-05/0.614, allocations: 167 kB / 0.7423 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.614, allocations: 4 kB / 0.7423 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-06/0.614, allocations: 0 / 0.7423 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.707e-05/0.6141, allocations: 0 / 0.7423 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.111e-05/0.6141, allocations: 37.62 kB / 0.7423 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.984e-06/0.6142, allocations: 4 kB / 0.7423 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.6142, allocations: 4 kB / 0.7423 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.6142, allocations: 0 / 0.7423 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001109/0.6143, allocations: 126.2 kB / 0.7425 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.737e-05/0.6143, allocations: 26.02 kB / 0.7425 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.755e-05/0.6144, allocations: 4.859 kB / 0.7425 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.6144, allocations: 0 / 0.7425 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.6144, allocations: 34.56 kB / 0.7425 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.6144, allocations: 0 / 0.7425 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 9.844e-05/0.6145, allocations: 37.7 kB / 0.7426 GB, free: 11.35 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.6146, allocations: 55.41 kB / 0.7426 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.186e-05/0.6146, allocations: 85 kB / 0.7427 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.6146, allocations: 25.7 kB / 0.7427 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.376e-05/0.6147, allocations: 84.12 kB / 0.7428 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.6147, allocations: 3.906 kB / 0.7428 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/0.6147, allocations: 0 / 0.7428 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.6148, allocations: 314.9 kB / 0.7431 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.736e-06/0.6148, allocations: 0 / 0.7431 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.201e-06/0.6148, allocations: 7.938 kB / 0.7431 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.572e-05/0.6149, allocations: 0 / 0.7431 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.6149, allocations: 3.938 kB / 0.7431 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.276e-05/0.6149, allocations: 33.7 kB / 0.7431 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.615, allocations: 11.94 kB / 0.7432 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.615, allocations: 0 / 0.7432 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.615, allocations: 4.094 kB / 0.7432 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.411e-05/0.6151, allocations: 4 kB / 0.7432 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.6151, allocations: 7.922 kB / 0.7432 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.13e-05/0.6151, allocations: 0 / 0.7432 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.6151, allocations: 0 / 0.7432 GB, free: 10.68 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 () * 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.777e-05/0.6152, allocations: 113 kB / 0.7433 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 4.298e-05/0.6153, allocations: 29.7 kB / 0.7433 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.046e-06/0.6153, allocations: 3.953 kB / 0.7433 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.906e-05/0.6153, allocations: 7.781 kB / 0.7433 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.6153, allocations: 0 / 0.7433 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.6153, allocations: 4 kB / 0.7433 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-06/0.6153, allocations: 0 / 0.7433 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.575e-05/0.6154, allocations: 126.2 kB / 0.7434 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.6154, allocations: 3.984 kB / 0.7434 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.377e-05/0.6155, allocations: 4 kB / 0.7434 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.6155, allocations: 3.953 kB / 0.7435 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.6155, allocations: 3.984 kB / 0.7435 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.6155, allocations: 0 / 0.7435 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.6155, allocations: 0 / 0.7435 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.81e-05/0.6156, allocations: 65.08 kB / 0.7435 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.534e-05/0.6156, allocations: 77.11 kB / 0.7436 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.6156, allocations: 7.938 kB / 0.7436 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.623e-05/0.6157, allocations: 0 / 0.7436 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.403e-05/0.6157, allocations: 4 kB / 0.7436 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.6157, allocations: 0 / 0.7436 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.759e-05/0.6157, allocations: 79.31 kB / 0.7437 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6158, allocations: 0 / 0.7437 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001796/0.6159, allocations: 0 / 0.7437 GB, free: 10.07 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 () * 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.0003295/0.6163, allocations: 0.5918 MB / 0.7443 GB, free: 9.449 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 5.52e-05/0.6163, allocations: 7.969 kB / 0.7443 GB, free: 9.441 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.6163, allocations: 4.062 kB / 0.7443 GB, free: 9.438 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 9.027e-06/0.6164, allocations: 0 / 0.7443 GB, free: 9.438 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.969e-05/0.6165, allocations: 11.89 kB / 0.7443 GB, free: 9.426 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002442/0.6167, allocations: 73.7 kB / 0.7444 GB, free: 9.316 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002138/0.6169, allocations: 0.6806 MB / 0.745 GB, free: 8.609 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.675e-05/0.617, allocations: 4.062 kB / 0.745 GB, free: 8.605 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.212e-05/0.617, allocations: 7.438 kB / 0.745 GB, free: 8.598 MB / 0.5261 GB Notification: Performance of SimCode: time 2.5e-07/0.617, allocations: 0 / 0.745 GB, free: 8.598 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01913/0.6361, allocations: 462.6 kB / 0.7455 GB, free: 8.156 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002103/0.6364, allocations: 135.9 kB / 0.7456 GB, free: 7.961 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.39/2.026, allocations: 7.875 kB / 0.7456 GB, free: 7.953 MB / 0.5261 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/linux/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)