Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.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.Examples.SmoothHeaviside,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothHeaviside",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.0009953/0.0009953, allocations: 174.7 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.7447/0.7447, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.522/1.522, allocations: 221.3 MB / 400.4 MB, free: 5.844 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.0008866/0.0008867, allocations: 89.88 kB / 483.3 MB, free: 5.891 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.107e-05/4.108e-05, allocations: 4.875 kB / 0.5601 GB, free: 87.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.174, allocations: 82.31 MB / 0.6405 GB, free: 7.738 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6294/0.8035, allocations: 111.7 MB / 0.7495 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/0.8039, allocations: 77.73 kB / 0.7496 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.004546/0.8084, allocations: 1.112 MB / 0.7507 GB, free: 27.53 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.834e-06/0.8084, allocations: 0 / 0.7507 GB, free: 27.53 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.343e-06/0.8085, allocations: 0 / 0.7507 GB, free: 27.53 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004411/0.8089, allocations: 343 kB / 0.751 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/0.809, allocations: 11.62 kB / 0.751 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.556e-05/0.809, allocations: 30.56 kB / 0.7511 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.296e-05/0.8091, allocations: 9.641 kB / 0.7511 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.8092, allocations: 174.6 kB / 0.7512 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.8092, allocations: 0 / 0.7512 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.8093, allocations: 6.25 kB / 0.7513 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.8094, allocations: 35.23 kB / 0.7513 GB, free: 26.9 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.8094, allocations: 3.984 kB / 0.7513 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.8094, allocations: 3 kB / 0.7513 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.8095, allocations: 0 / 0.7513 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.467e-05/0.8095, allocations: 10.88 kB / 0.7513 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004684/0.81, allocations: 272.2 kB / 0.7516 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.27e-05/0.8101, allocations: 25.89 kB / 0.7516 GB, free: 26.6 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.396e-05/0.8101, allocations: 11.95 kB / 0.7516 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001414/0.8103, allocations: 83.98 kB / 0.7517 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.8103, allocations: 30.56 kB / 0.7517 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/0.8103, allocations: 4 kB / 0.7517 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001745/0.8105, allocations: 46.7 kB / 0.7518 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.8106, allocations: 51.41 kB / 0.7518 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.827e-05/0.8106, allocations: 96.28 kB / 0.7519 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.8107, allocations: 29.55 kB / 0.7519 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.525e-05/0.8107, allocations: 89.84 kB / 0.752 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/0.8108, allocations: 3.938 kB / 0.752 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-06/0.8108, allocations: 0 / 0.752 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.8109, allocations: 322.3 kB / 0.7523 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.149e-05/0.8109, allocations: 3.875 kB / 0.7523 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.941e-05/0.811, allocations: 9.859 kB / 0.7523 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.286e-05/0.811, allocations: 3.812 kB / 0.7523 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.811, allocations: 0 / 0.7523 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001196/0.8111, allocations: 53.69 kB / 0.7524 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.8112, allocations: 3.844 kB / 0.7524 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.8112, allocations: 0 / 0.7524 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.8112, allocations: 4.094 kB / 0.7524 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.8113, allocations: 14.33 kB / 0.7524 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.8113, allocations: 0 / 0.7524 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.629e-05/0.8114, allocations: 6.422 kB / 0.7524 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.8114, allocations: 7.156 kB / 0.7524 GB, free: 25.78 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 (2): * Single equations (assignments): 2 * 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 7.491e-05/0.8115, allocations: 104.9 kB / 0.7525 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.274e-05/0.8116, allocations: 0 / 0.7525 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001311/0.8117, allocations: 55.55 kB / 0.7526 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.8117, allocations: 0 / 0.7526 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.8117, allocations: 0 / 0.7526 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.8117, allocations: 0 / 0.7526 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001813/0.8119, allocations: 163.2 kB / 0.7527 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.8119, allocations: 0 / 0.7527 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.728e-05/0.812, allocations: 18.03 kB / 0.7528 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.812, allocations: 0 / 0.7528 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.812, allocations: 0 / 0.7528 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.8121, allocations: 6.562 kB / 0.7528 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.8121, allocations: 0 / 0.7528 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.8122, allocations: 144.3 kB / 0.7529 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.83e-05/0.8123, allocations: 80.95 kB / 0.753 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.8123, allocations: 0 / 0.753 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.8124, allocations: 6.875 kB / 0.753 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.8125, allocations: 12.72 kB / 0.753 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.8125, allocations: 0 / 0.753 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.994e-05/0.8125, allocations: 85.58 kB / 0.7531 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2e-07/0.8125, allocations: 0 / 0.7531 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003369/0.8129, allocations: 11.72 kB / 0.7531 GB, free: 25.11 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 (2): * Single equations (assignments): 2 * 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.000549/0.8134, allocations: 0.6793 MB / 0.7537 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.985e-05/0.8135, allocations: 15.09 kB / 0.7538 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.8136, allocations: 0 / 0.7538 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.078e-05/0.8136, allocations: 11.62 kB / 0.7538 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/0.8139, allocations: 3 kB / 0.7538 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000409/0.8143, allocations: 96.7 kB / 0.7539 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/0.8146, allocations: 0.6829 MB / 0.7545 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.33e-05/0.8147, allocations: 4.188 kB / 0.7545 GB, free: 23.63 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.239e-05/0.8147, allocations: 11.19 kB / 0.7545 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of SimCode: time 3e-07/0.8147, allocations: 0 / 0.7545 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01542/0.8301, allocations: 1.125 MB / 0.7556 GB, free: 23.46 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002145/0.8304, allocations: 142.4 kB / 0.7558 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.393/2.224, allocations: 0 / 0.7558 GB, free: 23.23 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_SmoothHeaviside_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_SmoothHeaviside.fmu > IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)