Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothLimit",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.006861/0.006861, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7637/0.7637, allocations: 135.2 MB / 151 MB, free: 13.82 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.478/1.478, allocations: 223.2 MB / 406.8 MB, free: 3.16 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.0009576/0.0009576, allocations: 96.16 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003153/0.0003152, allocations: 12 kB / 0.5692 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.3855, allocations: 82.31 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1449/0.5304, allocations: 112.1 MB / 0.759 GB, free: 3.922 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/0.5307, allocations: 71.97 kB / 0.759 GB, free: 3.852 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004287/0.535, allocations: 1.427 MB / 0.7604 GB, free: 2.426 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.144e-06/0.535, allocations: 4 kB / 0.7604 GB, free: 2.422 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.5351, allocations: 4 kB / 0.7604 GB, free: 2.418 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.0004022/0.5355, allocations: 359.2 kB / 0.7608 GB, free: 2.02 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.5355, allocations: 8.031 kB / 0.7608 GB, free: 2.012 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.868e-05/0.5356, allocations: 34.5 kB / 0.7608 GB, free: 1.969 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.943e-05/0.5356, allocations: 7.906 kB / 0.7608 GB, free: 1.961 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.5357, allocations: 167 kB / 0.761 GB, free: 1.758 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.5358, allocations: 0 / 0.761 GB, free: 1.758 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.5358, allocations: 7.938 kB / 0.761 GB, free: 1.75 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.5359, allocations: 49.67 kB / 0.761 GB, free: 1.695 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.5359, allocations: 0 / 0.761 GB, free: 1.695 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.5359, allocations: 3.938 kB / 0.761 GB, free: 1.691 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.536, allocations: 0 / 0.761 GB, free: 1.691 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.454e-05/0.5361, allocations: 23.98 kB / 0.7611 GB, free: 1.668 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003487/0.5364, allocations: 264.9 kB / 0.7613 GB, free: 1.359 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.378e-05/0.5365, allocations: 34.56 kB / 0.7613 GB, free: 1.316 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000647/0.5372, allocations: 465.5 kB / 0.7618 GB, free: 0.7695 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.5372, allocations: 34.56 kB / 0.7618 GB, free: 0.7266 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.5372, allocations: 0 / 0.7618 GB, free: 0.7266 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0002392/0.5375, allocations: 73.61 kB / 0.7619 GB, free: 0.6484 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.5375, allocations: 55.44 kB / 0.7619 GB, free: 0.582 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.724e-05/0.5376, allocations: 101 kB / 0.762 GB, free: 488 kB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.5376, allocations: 25.7 kB / 0.7621 GB, free: 456 kB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.877e-05/0.5377, allocations: 88.14 kB / 0.7622 GB, free: 364 kB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.474e-05/0.5377, allocations: 3.906 kB / 0.7622 GB, free: 360 kB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.5377, allocations: 0 / 0.7622 GB, free: 360 kB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.5378, allocations: 322.8 kB / 0.7625 GB, free: 28 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.155e-05/0.5379, allocations: 12 kB / 0.7625 GB, free: 16 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.781e-05/0.5379, allocations: 15.98 kB / 0.7625 GB, free: 0 / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.031e-05/0.538, allocations: 8.047 kB / 0.7625 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.538, allocations: 0 / 0.7625 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001167/0.5381, allocations: 61.56 kB / 0.7626 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.5381, allocations: 12.09 kB / 0.7626 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.5381, allocations: 3.984 kB / 0.7626 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.5382, allocations: 0 / 0.7626 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.574e-05/0.5382, allocations: 4 kB / 0.7626 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.5382, allocations: 0 / 0.7626 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.632e-05/0.5383, allocations: 11.98 kB / 0.7626 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.5383, allocations: 0 / 0.7626 GB, free: 15.89 MB / 0.5417 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.687e-05/0.5384, allocations: 113.8 kB / 0.7627 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.354e-05/0.5384, allocations: 7.906 kB / 0.7627 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001659/0.5386, allocations: 65.2 kB / 0.7628 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.5386, allocations: 0 / 0.7628 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.5386, allocations: 4 kB / 0.7628 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.5386, allocations: 3.938 kB / 0.7628 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.5388, allocations: 165.5 kB / 0.7629 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.5388, allocations: 0 / 0.7629 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.217e-05/0.5388, allocations: 8 kB / 0.7629 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.5388, allocations: 4.031 kB / 0.7629 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.5388, allocations: 0 / 0.7629 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.5389, allocations: 0 / 0.7629 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.5389, allocations: 0 / 0.7629 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001677/0.539, allocations: 155.5 kB / 0.7631 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.069e-05/0.5391, allocations: 89.08 kB / 0.7632 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.5391, allocations: 0 / 0.7632 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.984e-05/0.5392, allocations: 4 kB / 0.7632 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.249e-05/0.5392, allocations: 3.984 kB / 0.7632 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.5392, allocations: 0 / 0.7632 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.18e-05/0.5393, allocations: 91.58 kB / 0.7633 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1e-07/0.5393, allocations: 0 / 0.7633 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002273/0.5395, allocations: 27.83 kB / 0.7633 GB, free: 15.06 MB / 0.5417 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.0005202/0.54, allocations: 0.7094 MB / 0.764 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001223/0.5402, allocations: 27.98 kB / 0.764 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.5402, allocations: 4.094 kB / 0.764 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.815e-05/0.5402, allocations: 19.92 kB / 0.764 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001242/0.5404, allocations: 4 kB / 0.764 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004255/0.5408, allocations: 174.1 kB / 0.7642 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.541, allocations: 0.6849 MB / 0.7649 GB, free: 13.35 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.434e-05/0.5411, allocations: 4 kB / 0.7649 GB, free: 13.35 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.039e-05/0.5411, allocations: 11.44 kB / 0.7649 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of SimCode: time 2.3e-07/0.5412, allocations: 4 kB / 0.7649 GB, free: 13.33 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01171/0.5529, allocations: 1.32 MB / 0.7662 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001602/0.5531, allocations: 162.4 kB / 0.7663 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.494/2.047, allocations: 3.938 kB / 0.7663 GB, free: 11.87 MB / 0.5417 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_SmoothLimit.fmu > IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)