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.005445/0.005445, allocations: 172.6 kB / 15.12 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7347/0.7347, allocations: 135.2 MB / 151 MB, free: 13.83 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.779/1.779, allocations: 223.2 MB / 406.8 MB, free: 3.219 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.001166/0.001166, allocations: 104.4 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004835/0.0004834, allocations: 8 kB / 0.5691 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4763/0.4768, allocations: 82.31 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1463/0.6232, allocations: 111.7 MB / 0.7586 GB, free: 4.25 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000291/0.6235, allocations: 75.95 kB / 0.7587 GB, free: 4.176 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003412/0.6269, allocations: 1.115 MB / 0.7598 GB, free: 3.059 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.034e-06/0.627, allocations: 4 kB / 0.7598 GB, free: 3.055 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.627, allocations: 4 kB / 0.7598 GB, free: 3.051 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.0004859/0.6275, allocations: 351.2 kB / 0.7601 GB, free: 2.66 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.516e-05/0.6275, allocations: 12.03 kB / 0.7602 GB, free: 2.648 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.46e-05/0.6276, allocations: 30.56 kB / 0.7602 GB, free: 2.609 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.856e-05/0.6276, allocations: 0 / 0.7602 GB, free: 2.609 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.6278, allocations: 167 kB / 0.7603 GB, free: 2.406 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.6278, allocations: 8 kB / 0.7603 GB, free: 2.398 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.348e-06/0.6279, allocations: 0 / 0.7603 GB, free: 2.398 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/0.6281, allocations: 53.67 kB / 0.7604 GB, free: 2.34 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.6281, allocations: 3.938 kB / 0.7604 GB, free: 2.336 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.6281, allocations: 0 / 0.7604 GB, free: 2.336 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.6281, allocations: 4 kB / 0.7604 GB, free: 2.332 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001914/0.6283, allocations: 51.89 kB / 0.7605 GB, free: 2.281 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005833/0.6289, allocations: 272.7 kB / 0.7607 GB, free: 1.965 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.6291, allocations: 46.59 kB / 0.7608 GB, free: 1.91 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001664/0.6293, allocations: 81.17 kB / 0.7608 GB, free: 1.812 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.6293, allocations: 34.5 kB / 0.7609 GB, free: 1.77 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.914e-06/0.6293, allocations: 3.938 kB / 0.7609 GB, free: 1.766 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0004478/0.6298, allocations: 101.6 kB / 0.761 GB, free: 1.66 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.6298, allocations: 51.41 kB / 0.761 GB, free: 1.598 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.011e-05/0.6299, allocations: 92.98 kB / 0.7611 GB, free: 1.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/0.63, allocations: 33.83 kB / 0.7611 GB, free: 1.461 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.661e-05/0.6301, allocations: 84.14 kB / 0.7612 GB, free: 1.375 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.6301, allocations: 3.906 kB / 0.7612 GB, free: 1.371 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/0.6301, allocations: 0 / 0.7612 GB, free: 1.371 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.6303, allocations: 322.8 kB / 0.7615 GB, free: 1.047 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.001e-05/0.6304, allocations: 19.98 kB / 0.7616 GB, free: 1.027 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.958e-05/0.6304, allocations: 23.98 kB / 0.7616 GB, free: 1.004 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.934e-05/0.6305, allocations: 23.92 kB / 0.7616 GB, free: 0.9805 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.6306, allocations: 0 / 0.7616 GB, free: 0.9805 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002261/0.6308, allocations: 81.72 kB / 0.7617 GB, free: 0.8945 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.6308, allocations: 8 kB / 0.7617 GB, free: 0.8867 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.6308, allocations: 0 / 0.7617 GB, free: 0.8867 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.6309, allocations: 0 / 0.7617 GB, free: 0.8867 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.631, allocations: 11.98 kB / 0.7617 GB, free: 0.875 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.631, allocations: 0 / 0.7617 GB, free: 0.875 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.611e-05/0.631, allocations: 12.03 kB / 0.7617 GB, free: 0.8633 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.6311, allocations: 3.984 kB / 0.7617 GB, free: 0.8594 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 () * Number of clocked 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 8.961e-05/0.6311, allocations: 109.8 kB / 0.7618 GB, free: 0.7422 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.8e-05/0.6312, allocations: 7.906 kB / 0.7618 GB, free: 0.7344 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002972/0.6315, allocations: 88.72 kB / 0.7619 GB, free: 0.6406 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.6315, allocations: 0 / 0.7619 GB, free: 0.6406 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.6315, allocations: 0 / 0.7619 GB, free: 0.6406 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.6315, allocations: 0 / 0.7619 GB, free: 0.6406 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.6317, allocations: 165.6 kB / 0.7621 GB, free: 440 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.6317, allocations: 0 / 0.7621 GB, free: 440 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.638e-05/0.6318, allocations: 8 kB / 0.7621 GB, free: 432 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.6318, allocations: 11.92 kB / 0.7621 GB, free: 420 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.6318, allocations: 4.031 kB / 0.7621 GB, free: 416 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.6318, allocations: 0 / 0.7621 GB, free: 416 kB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.6318, allocations: 256 / 0.7621 GB, free: 416 kB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002488/0.6321, allocations: 179.4 kB / 0.7623 GB, free: 220 kB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.458e-05/0.6321, allocations: 81.11 kB / 0.7623 GB, free: 120 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.6321, allocations: 4 kB / 0.7623 GB, free: 116 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.634e-05/0.6322, allocations: 4 kB / 0.7623 GB, free: 112 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.6323, allocations: 11.97 kB / 0.7624 GB, free: 100 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.6323, allocations: 0 / 0.7624 GB, free: 100 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.084e-05/0.6323, allocations: 83.28 kB / 0.7624 GB, free: 16 kB / 0.5261 GB Notification: Performance of sort global known variables: time 1e-07/0.6323, allocations: 0 / 0.7624 GB, free: 16 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002309/0.6326, allocations: 15.97 kB / 0.7625 GB, free: 0 / 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 () * Number of clocked 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.0007297/0.6333, allocations: 0.7162 MB / 0.7632 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002408/0.6335, allocations: 47.91 kB / 0.7632 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.6336, allocations: 0 / 0.7632 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.918e-05/0.6337, allocations: 28.05 kB / 0.7632 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.6339, allocations: 9.078 kB / 0.7632 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000414/0.6343, allocations: 138.4 kB / 0.7634 GB, free: 15 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/0.6346, allocations: 0.6809 MB / 0.764 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.109e-05/0.6346, allocations: 4.062 kB / 0.764 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.564e-05/0.6347, allocations: 15.44 kB / 0.764 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of SimCode: time 2.345e-06/0.6347, allocations: 0 / 0.764 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01174/0.6464, allocations: 1.127 MB / 0.7651 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001824/0.6467, allocations: 158.2 kB / 0.7653 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.475/2.122, allocations: 0 / 0.7653 GB, free: 13.02 MB / 0.5417 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)