Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="IDEAS_dev_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.001092/0.001092, allocations: 178.4 kB / 7.65 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.7536/0.7536, allocations: 133.6 MB / 141.6 MB, free: 2.91 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.483/1.483, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.0009365/0.0009365, allocations: 108.7 kB / 478.2 MB, free: 1.32 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.512e-05/2.499e-05, allocations: 4 kB / 0.5535 GB, free: 8.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5072/0.5072, allocations: 82.3 MB / 0.6339 GB, free: 40.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.15/0.6573, allocations: 111 MB / 0.7423 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/0.6576, allocations: 71.97 kB / 0.7424 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.00321/0.6608, allocations: 1.107 MB / 0.7435 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6608, allocations: 0 / 0.7435 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.6608, allocations: 0 / 0.7435 GB, free: 10.5 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003885/0.6612, allocations: 338.5 kB / 0.7438 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.6613, allocations: 8.031 kB / 0.7438 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.189e-05/0.6613, allocations: 7.906 kB / 0.7438 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.6615, allocations: 171 kB / 0.744 GB, free: 9.906 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.6615, allocations: 4 kB / 0.744 GB, free: 9.902 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.6615, allocations: 4 kB / 0.744 GB, free: 9.898 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.453e-05/0.6616, allocations: 11.94 kB / 0.744 GB, free: 9.887 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.203e-05/0.6617, allocations: 33.7 kB / 0.744 GB, free: 9.848 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.6617, allocations: 3.984 kB / 0.744 GB, free: 9.844 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.6617, allocations: 7.984 kB / 0.744 GB, free: 9.836 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.6617, allocations: 0 / 0.744 GB, free: 9.836 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000447/0.6622, allocations: 249.5 kB / 0.7443 GB, free: 9.555 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.634e-05/0.6622, allocations: 22.58 kB / 0.7443 GB, free: 9.523 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.691e-05/0.6623, allocations: 16.86 kB / 0.7443 GB, free: 9.504 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001295/0.6624, allocations: 85.09 kB / 0.7444 GB, free: 9.402 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.6624, allocations: 30.56 kB / 0.7444 GB, free: 9.363 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.6624, allocations: 0 / 0.7444 GB, free: 9.363 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0002396/0.6627, allocations: 49.69 kB / 0.7445 GB, free: 9.309 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.6627, allocations: 55.41 kB / 0.7445 GB, free: 9.242 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.37e-05/0.6628, allocations: 96.98 kB / 0.7446 GB, free: 9.141 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.6628, allocations: 29.64 kB / 0.7446 GB, free: 9.105 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.398e-05/0.6629, allocations: 84.05 kB / 0.7447 GB, free: 9.02 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.676e-05/0.6629, allocations: 11.88 kB / 0.7447 GB, free: 9.008 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.6629, allocations: 0 / 0.7447 GB, free: 9.008 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.663, allocations: 318.8 kB / 0.745 GB, free: 8.688 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.477e-05/0.663, allocations: 8.031 kB / 0.745 GB, free: 8.68 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.188e-05/0.6631, allocations: 4 kB / 0.745 GB, free: 8.676 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.726e-05/0.6631, allocations: 11.98 kB / 0.7451 GB, free: 8.664 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.6632, allocations: 0 / 0.7451 GB, free: 8.664 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001176/0.6633, allocations: 61.52 kB / 0.7451 GB, free: 8.598 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.6633, allocations: 4 kB / 0.7451 GB, free: 8.594 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.6633, allocations: 0 / 0.7451 GB, free: 8.594 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.6633, allocations: 0 / 0.7451 GB, free: 8.594 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.45e-05/0.6634, allocations: 16.08 kB / 0.7451 GB, free: 8.578 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.6634, allocations: 4 kB / 0.7451 GB, free: 8.574 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.785e-05/0.6635, allocations: 4 kB / 0.7451 GB, free: 8.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.6635, allocations: 0 / 0.7451 GB, free: 8.57 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 (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 6.663e-05/0.6636, allocations: 108.9 kB / 0.7452 GB, free: 8.457 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001311/0.6637, allocations: 53.67 kB / 0.7453 GB, free: 8.398 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.204e-05/0.6637, allocations: 7.938 kB / 0.7453 GB, free: 8.391 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001513/0.6639, allocations: 57.45 kB / 0.7454 GB, free: 8.328 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.6639, allocations: 0 / 0.7454 GB, free: 8.328 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.6639, allocations: 0 / 0.7454 GB, free: 8.328 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.6639, allocations: 0 / 0.7454 GB, free: 8.328 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.6641, allocations: 142.1 kB / 0.7455 GB, free: 8.152 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.6641, allocations: 4 kB / 0.7455 GB, free: 8.148 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.105e-05/0.6641, allocations: 11.98 kB / 0.7455 GB, free: 8.137 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.6642, allocations: 0 / 0.7455 GB, free: 8.137 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.6642, allocations: 0 / 0.7455 GB, free: 8.137 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.6642, allocations: 4.031 kB / 0.7455 GB, free: 8.133 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.6642, allocations: 0 / 0.7455 GB, free: 8.133 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001635/0.6643, allocations: 155.4 kB / 0.7457 GB, free: 7.965 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.059e-05/0.6644, allocations: 77.11 kB / 0.7457 GB, free: 7.871 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.6644, allocations: 256 / 0.7457 GB, free: 7.871 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.213e-05/0.6645, allocations: 15.98 kB / 0.7458 GB, free: 7.855 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.496e-05/0.6645, allocations: 4.031 kB / 0.7458 GB, free: 7.852 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.6645, allocations: 3.938 kB / 0.7458 GB, free: 7.848 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.597e-05/0.6646, allocations: 79.28 kB / 0.7458 GB, free: 7.77 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6646, allocations: 0 / 0.7458 GB, free: 7.77 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000201/0.6648, allocations: 12 kB / 0.7458 GB, free: 7.758 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 (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.0004619/0.6653, allocations: 0.6812 MB / 0.7465 GB, free: 7.051 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.497e-05/0.6654, allocations: 15.94 kB / 0.7465 GB, free: 7.035 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.6654, allocations: 0 / 0.7465 GB, free: 7.035 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.118e-05/0.6654, allocations: 12 kB / 0.7465 GB, free: 7.023 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001961/0.6656, allocations: 9.797 kB / 0.7465 GB, free: 7.016 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003322/0.6659, allocations: 97.48 kB / 0.7466 GB, free: 6.883 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.6662, allocations: 0.6847 MB / 0.7473 GB, free: 6.172 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.521e-05/0.6662, allocations: 0 / 0.7473 GB, free: 6.172 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.614e-05/0.6662, allocations: 7.438 kB / 0.7473 GB, free: 6.164 MB / 0.5261 GB Notification: Performance of SimCode: time 2.6e-07/0.6662, allocations: 0 / 0.7473 GB, free: 6.164 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01703/0.6833, allocations: 0.8354 MB / 0.7481 GB, free: 5.34 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001875/0.6835, allocations: 129.1 kB / 0.7483 GB, free: 5.148 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.365/2.049, allocations: 0 / 0.7483 GB, free: 5.148 MB / 0.5261 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothHeaviside_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothHeaviside.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)