Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.09/1.09, allocations: 175.8 MB / 478.4 MB, free: 8.523 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 70.73 kB / 0.6652 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2043, allocations: 94.54 MB / 0.7575 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.002733/0.2071, allocations: 1.461 MB / 0.759 GB, free: 448 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3777/0.5847, allocations: 0.5618 MB / 0.7595 GB, free: 8 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.351e-05/0.5848, allocations: 0.8125 kB / 0.7595 GB, free: 8 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.131e-05/0.5849, allocations: 0.6094 kB / 0.7595 GB, free: 8 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.556e-05/0.5849, allocations: 7.625 kB / 0.7595 GB, free: 8 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000351/0.5853, allocations: 52.95 kB / 0.7596 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.348e-05/0.5853, allocations: 26.44 kB / 0.7596 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.5855, allocations: 11.8 kB / 0.7596 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 9.099e-05/0.5855, allocations: 17.3 kB / 0.7596 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.732e-05/0.5856, allocations: 15.12 kB / 0.7596 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.5856, allocations: 2.859 kB / 0.7596 GB, free: 7.996 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.5858, allocations: 53.72 kB / 0.7597 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.684e-05/0.5858, allocations: 14.06 kB / 0.7597 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.645e-05/0.5858, allocations: 10.39 kB / 0.7597 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.586, allocations: 60.41 kB / 0.7598 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.586, allocations: 0.5625 kB / 0.7598 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.673e-06/0.586, allocations: 0 / 0.7598 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.586, allocations: 1.812 kB / 0.7598 GB, free: 7.98 MB / 0.5762 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.000392/0.5864, allocations: 350.8 kB / 0.7601 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.5864, allocations: 11.38 kB / 0.7601 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.081e-05/0.5865, allocations: 34.64 kB / 0.7602 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.891e-05/0.5865, allocations: 3.266 kB / 0.7602 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.267e-05/0.5866, allocations: 178.4 kB / 0.7603 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.5866, allocations: 3.203 kB / 0.7603 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-06/0.5866, allocations: 4.906 kB / 0.7603 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.5867, allocations: 48.75 kB / 0.7604 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.5868, allocations: 2.438 kB / 0.7604 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.5868, allocations: 0 / 0.7604 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.5868, allocations: 0 / 0.7604 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.663e-05/0.5869, allocations: 23.98 kB / 0.7604 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002908/0.5872, allocations: 255.7 kB / 0.7606 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.619e-05/0.5872, allocations: 33.25 kB / 0.7607 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.687e-05/0.5873, allocations: 16.66 kB / 0.7607 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007835/0.5881, allocations: 474.3 kB / 0.7611 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.5881, allocations: 32.88 kB / 0.7612 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 2.474e-06/0.5881, allocations: 1.031 kB / 0.7612 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003177/0.5884, allocations: 65.11 kB / 0.7612 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.5885, allocations: 53.12 kB / 0.7613 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.758e-05/0.5886, allocations: 110.4 kB / 0.7614 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.5886, allocations: 26.2 kB / 0.7614 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.946e-05/0.5886, allocations: 91.17 kB / 0.7615 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.5886, allocations: 8.141 kB / 0.7615 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.026e-05/0.5887, allocations: 17.41 kB / 0.7615 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.674e-05/0.5887, allocations: 319.5 kB / 0.7618 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.813e-05/0.5888, allocations: 9.609 kB / 0.7618 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.986e-05/0.5888, allocations: 11.86 kB / 0.7619 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/0.5889, allocations: 31.59 kB / 0.7619 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.5889, allocations: 0 / 0.7619 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001429/0.5891, allocations: 55.06 kB / 0.7619 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.5891, allocations: 6.125 kB / 0.7619 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.5891, allocations: 0.7031 kB / 0.7619 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.5891, allocations: 2.281 kB / 0.762 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.874e-05/0.5892, allocations: 8.078 kB / 0.762 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.5892, allocations: 2.516 kB / 0.762 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.576e-05/0.5893, allocations: 6.344 kB / 0.762 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.5893, allocations: 1.344 kB / 0.762 GB, free: 5.836 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.246e-05/0.5893, allocations: 112.5 kB / 0.7621 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.536e-05/0.5894, allocations: 2.516 kB / 0.7621 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002065/0.5896, allocations: 69.2 kB / 0.7621 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.5896, allocations: 0 / 0.7621 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.5896, allocations: 6.516 kB / 0.7622 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.5896, allocations: 2.016 kB / 0.7622 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.5898, allocations: 167.4 kB / 0.7623 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.5898, allocations: 1.25 kB / 0.7623 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.827e-05/0.5898, allocations: 6.812 kB / 0.7623 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.5898, allocations: 0.75 kB / 0.7623 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.5898, allocations: 0 / 0.7623 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.5898, allocations: 1.438 kB / 0.7623 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.5898, allocations: 0.6094 kB / 0.7623 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001787/0.59, allocations: 158.2 kB / 0.7625 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.952e-05/0.5901, allocations: 79.38 kB / 0.7625 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.5901, allocations: 0.5156 kB / 0.7625 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.486e-05/0.5902, allocations: 3.594 kB / 0.7626 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.501e-05/0.5902, allocations: 2.391 kB / 0.7626 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.5902, allocations: 0.9062 kB / 0.7626 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.453e-05/0.5903, allocations: 89.89 kB / 0.7626 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5903, allocations: 0 / 0.7626 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003878/0.5907, allocations: 24.23 kB / 0.7627 GB, free: 5.16 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004793/0.5911, allocations: 0.7008 MB / 0.7633 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001933/0.5913, allocations: 23.86 kB / 0.7634 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.5913, allocations: 0.8125 kB / 0.7634 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.043e-05/0.5914, allocations: 16.88 kB / 0.7634 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.5917, allocations: 8.781 kB / 0.7634 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005817/0.5923, allocations: 161.8 kB / 0.7636 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006044/0.5929, allocations: 0.6791 MB / 0.7642 GB, free: 19.64 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.648e-05/0.5929, allocations: 4.781 kB / 0.7642 GB, free: 19.64 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.155e-05/0.593, allocations: 17.67 kB / 0.7642 GB, free: 19.63 MB / 0.5919 GB Notification: Performance of SimCode: time 3.4e-07/0.593, allocations: 4.062 kB / 0.7642 GB, free: 19.62 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02956/0.6225, allocations: 1.614 MB / 0.7658 GB, free: 19.23 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.033/8.655, allocations: 4.469 kB / 0.7658 GB, free: 19.23 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothLimit.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.515771118924022] Failed to read output from testmodel.py, exit status != 0: 8.723398279864341 8.735202259 8.146517974 Calling exit ...