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.001013/0.001013, allocations: 172.5 kB / 7.646 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.8348/0.8348, allocations: 133.6 MB / 141.6 MB, free: 2.898 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.421/1.421, allocations: 221.5 MB / 395.4 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.0009391/0.0009394, allocations: 97.08 kB / 478.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.783e-05/2.786e-05, allocations: 4 kB / 0.5536 GB, free: 8.949 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5107/0.5108, allocations: 82.3 MB / 0.6339 GB, free: 40.69 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1514/0.6622, allocations: 111 MB / 0.7423 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/0.6625, allocations: 71.97 kB / 0.7424 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003276/0.6658, allocations: 1.103 MB / 0.7435 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6658, allocations: 0 / 0.7435 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.6659, allocations: 8 kB / 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.0003677/0.6662, allocations: 338.5 kB / 0.7438 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.6663, allocations: 8.031 kB / 0.7438 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.093e-05/0.6663, allocations: 7.906 kB / 0.7438 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.6665, allocations: 171 kB / 0.744 GB, free: 9.898 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.6665, allocations: 0 / 0.744 GB, free: 9.898 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.6665, allocations: 4 kB / 0.744 GB, free: 9.895 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.978e-05/0.6666, allocations: 15.94 kB / 0.744 GB, free: 9.879 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.032e-05/0.6666, allocations: 37.64 kB / 0.744 GB, free: 9.836 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.6667, allocations: 4 kB / 0.744 GB, free: 9.832 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.6667, allocations: 0 / 0.744 GB, free: 9.832 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.6667, allocations: 0 / 0.744 GB, free: 9.832 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003931/0.6671, allocations: 249.5 kB / 0.7443 GB, free: 9.551 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.238e-05/0.6672, allocations: 22.58 kB / 0.7443 GB, free: 9.52 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.635e-05/0.6672, allocations: 12.86 kB / 0.7443 GB, free: 9.504 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001286/0.6673, allocations: 85.09 kB / 0.7444 GB, free: 9.402 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.6674, allocations: 34.56 kB / 0.7444 GB, free: 9.359 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.6674, allocations: 0 / 0.7444 GB, free: 9.359 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.00025/0.6676, allocations: 49.69 kB / 0.7445 GB, free: 9.305 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.6677, allocations: 55.44 kB / 0.7445 GB, free: 9.238 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.303e-05/0.6677, allocations: 92.94 kB / 0.7446 GB, free: 9.141 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.6678, allocations: 25.7 kB / 0.7446 GB, free: 9.109 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.817e-05/0.6678, allocations: 92.03 kB / 0.7447 GB, free: 9.016 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.6678, allocations: 7.938 kB / 0.7447 GB, free: 9.008 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.107e-06/0.6679, allocations: 0 / 0.7447 GB, free: 9.008 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.668, allocations: 318.8 kB / 0.745 GB, free: 8.688 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.614e-05/0.668, allocations: 4 kB / 0.745 GB, free: 8.684 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.027e-05/0.668, allocations: 4 kB / 0.745 GB, free: 8.68 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.718e-05/0.6681, allocations: 15.98 kB / 0.7451 GB, free: 8.664 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.6681, allocations: 3.938 kB / 0.7451 GB, free: 8.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001245/0.6683, allocations: 57.58 kB / 0.7451 GB, free: 8.598 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.6683, allocations: 4 kB / 0.7451 GB, free: 8.594 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.6683, allocations: 3.984 kB / 0.7451 GB, free: 8.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.6683, allocations: 0 / 0.7451 GB, free: 8.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.153e-05/0.6684, allocations: 12 kB / 0.7451 GB, free: 8.578 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.6684, allocations: 4.094 kB / 0.7451 GB, free: 8.574 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.221e-05/0.6685, allocations: 7.984 kB / 0.7451 GB, free: 8.566 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.6685, allocations: 0 / 0.7451 GB, free: 8.566 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.517e-05/0.6686, allocations: 108.9 kB / 0.7452 GB, free: 8.453 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000132/0.6687, allocations: 53.61 kB / 0.7453 GB, free: 8.395 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.072e-05/0.6687, allocations: 4 kB / 0.7453 GB, free: 8.391 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001555/0.6689, allocations: 61.45 kB / 0.7454 GB, free: 8.324 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.6689, allocations: 0 / 0.7454 GB, free: 8.324 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.6689, allocations: 0 / 0.7454 GB, free: 8.324 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.6689, allocations: 0 / 0.7454 GB, free: 8.324 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.6691, allocations: 142.1 kB / 0.7455 GB, free: 8.148 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.6691, allocations: 4 kB / 0.7455 GB, free: 8.145 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.151e-05/0.6692, allocations: 12.23 kB / 0.7455 GB, free: 8.133 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.6692, allocations: 0 / 0.7455 GB, free: 8.133 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.6692, allocations: 4 kB / 0.7455 GB, free: 8.129 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.6692, allocations: 3.938 kB / 0.7455 GB, free: 8.125 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.6692, allocations: 4.031 kB / 0.7455 GB, free: 8.121 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001809/0.6694, allocations: 151.4 kB / 0.7457 GB, free: 7.957 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.895e-05/0.6694, allocations: 77.11 kB / 0.7457 GB, free: 7.863 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.6695, allocations: 0 / 0.7457 GB, free: 7.863 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.744e-05/0.6695, allocations: 8 kB / 0.7457 GB, free: 7.855 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.223e-05/0.6696, allocations: 11.92 kB / 0.7458 GB, free: 7.844 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.6696, allocations: 8.031 kB / 0.7458 GB, free: 7.836 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.641e-05/0.6696, allocations: 75.28 kB / 0.7458 GB, free: 7.762 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6696, allocations: 0 / 0.7458 GB, free: 7.762 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002222/0.6699, allocations: 12 kB / 0.7458 GB, free: 7.75 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.0005467/0.6704, allocations: 0.6812 MB / 0.7465 GB, free: 7.043 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 8.633e-05/0.6705, allocations: 15.94 kB / 0.7465 GB, free: 7.027 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6705, allocations: 4 kB / 0.7465 GB, free: 7.023 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.126e-05/0.6706, allocations: 8 kB / 0.7465 GB, free: 7.016 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.6708, allocations: 5.859 kB / 0.7465 GB, free: 7.012 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000373/0.6712, allocations: 97.48 kB / 0.7466 GB, free: 6.879 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.6715, allocations: 0.6807 MB / 0.7473 GB, free: 6.172 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.68e-05/0.6715, allocations: 4.125 kB / 0.7473 GB, free: 6.168 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.034e-05/0.6716, allocations: 7.438 kB / 0.7473 GB, free: 6.16 MB / 0.5261 GB Notification: Performance of SimCode: time 4.41e-07/0.6716, allocations: 0 / 0.7473 GB, free: 6.16 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02024/0.6918, allocations: 0.8312 MB / 0.7481 GB, free: 5.34 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002321/0.6922, allocations: 119.6 kB / 0.7482 GB, free: 5.152 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.435/2.127, allocations: 0 / 0.7482 GB, free: 5.152 MB / 0.5261 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)