Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.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.00129/0.00129, allocations: 103 kB / 16.45 MB, free: 6.457 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.001477/0.001477, allocations: 199.6 kB / 19.41 MB, free: 3.645 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.454/1.454, allocations: 225.6 MB / 247.8 MB, free: 13.94 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.105/1.105, allocations: 175.8 MB / 478.5 MB, free: 8.496 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.SmoothMin,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothMin,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002105/0.002105, allocations: 68.05 kB / 0.6652 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1916, allocations: 94.55 MB / 0.7575 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002824/0.1945, allocations: 1.475 MB / 0.759 GB, free: 476 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003843/0.1948, allocations: 143.5 kB / 0.7591 GB, free: 332 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.388e-05/0.1949, allocations: 0 / 0.7591 GB, free: 332 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.12e-05/0.1949, allocations: 3.938 kB / 0.7591 GB, free: 328 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.444e-05/0.195, allocations: 7.938 kB / 0.7591 GB, free: 320 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002122/0.1952, allocations: 35.89 kB / 0.7592 GB, free: 284 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001043/0.1953, allocations: 47.84 kB / 0.7592 GB, free: 236 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.1954, allocations: 16.22 kB / 0.7592 GB, free: 220 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.61e-05/0.1955, allocations: 19.92 kB / 0.7592 GB, free: 200 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.323e-05/0.1955, allocations: 19.92 kB / 0.7593 GB, free: 180 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.1955, allocations: 4 kB / 0.7593 GB, free: 176 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.186e-05/0.1956, allocations: 35.95 kB / 0.7593 GB, free: 140 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.499e-05/0.1956, allocations: 4 kB / 0.7593 GB, free: 136 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.423e-05/0.1957, allocations: 23.86 kB / 0.7593 GB, free: 112 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.1958, allocations: 63.73 kB / 0.7594 GB, free: 48 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1958, allocations: 4 kB / 0.7594 GB, free: 44 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1958, allocations: 0 / 0.7594 GB, free: 44 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.395e-06/0.1958, allocations: 0 / 0.7594 GB, free: 44 kB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.3675/0.5633, allocations: 363.3 kB / 0.7597 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.5634, allocations: 10.19 kB / 0.7597 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.941e-05/0.5634, allocations: 38.86 kB / 0.7598 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001233/0.5646, allocations: 210.5 kB / 0.76 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.367e-05/0.5647, allocations: 169 kB / 0.7601 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.5647, allocations: 2.469 kB / 0.7601 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.5648, allocations: 2.562 kB / 0.7601 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005985/0.5654, allocations: 193.9 kB / 0.7603 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.5654, allocations: 5.156 kB / 0.7603 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.5654, allocations: 0.5 kB / 0.7603 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.5654, allocations: 1.031 kB / 0.7603 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008739/0.5663, allocations: 284.3 kB / 0.7606 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009002/0.5672, allocations: 433.1 kB / 0.761 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.5683, allocations: 288.5 kB / 0.7613 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003586/0.5687, allocations: 101.2 kB / 0.7614 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.013e-05/0.5687, allocations: 4 kB / 0.7614 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.5687, allocations: 31.88 kB / 0.7614 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.904e-06/0.5687, allocations: 0 / 0.7614 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.001204/0.5699, allocations: 312.7 kB / 0.7617 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/0.57, allocations: 57.25 kB / 0.7618 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.442e-05/0.57, allocations: 116.4 kB / 0.7619 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.5701, allocations: 31.92 kB / 0.7619 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.083e-05/0.5701, allocations: 90.86 kB / 0.762 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.571e-05/0.5701, allocations: 10.62 kB / 0.762 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.846e-05/0.5702, allocations: 16.36 kB / 0.762 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.347e-05/0.5702, allocations: 321.8 kB / 0.7623 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003588/0.5706, allocations: 95.64 kB / 0.7624 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000359/0.5709, allocations: 94.72 kB / 0.7625 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006704/0.5716, allocations: 173.3 kB / 0.7627 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5716, allocations: 0 / 0.7627 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007336/0.5723, allocations: 218.2 kB / 0.7629 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.5724, allocations: 8.047 kB / 0.7629 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.5724, allocations: 3.344 kB / 0.7629 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.5724, allocations: 1.031 kB / 0.7629 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002572/0.5726, allocations: 39.16 kB / 0.7629 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.5727, allocations: 1.609 kB / 0.7629 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/0.5728, allocations: 26.75 kB / 0.763 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.5729, allocations: 2 kB / 0.763 GB, free: 6.539 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 (3): * Single equations (assignments): 3 * 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 7.472e-05/0.5729, allocations: 121.9 kB / 0.7631 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.293e-05/0.573, allocations: 7.109 kB / 0.7631 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.295e-05/0.573, allocations: 12.38 kB / 0.7631 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.573, allocations: 0 / 0.7631 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.573, allocations: 1.5 kB / 0.7631 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.573, allocations: 0.7969 kB / 0.7631 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002057/0.5732, allocations: 208.3 kB / 0.7633 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.5732, allocations: 0 / 0.7633 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002398/0.5735, allocations: 39.06 kB / 0.7633 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.5735, allocations: 0.75 kB / 0.7633 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.5735, allocations: 2.031 kB / 0.7633 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.5735, allocations: 8.125 kB / 0.7634 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.5735, allocations: 2.172 kB / 0.7634 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006922/0.5742, allocations: 314.1 kB / 0.7637 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.091e-05/0.5742, allocations: 84.48 kB / 0.7637 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.5742, allocations: 4.625 kB / 0.7637 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/0.5744, allocations: 26 kB / 0.7638 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.5745, allocations: 7.922 kB / 0.7638 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.5745, allocations: 1.531 kB / 0.7638 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.551e-05/0.5745, allocations: 95.98 kB / 0.7639 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.5745, allocations: 0 / 0.7639 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002329/0.5748, allocations: 16.09 kB / 0.7639 GB, free: 5.891 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 (3): * Single equations (assignments): 3 * 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.0008861/0.5757, allocations: 0.842 MB / 0.7647 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006997/0.5764, allocations: 201.5 kB / 0.7649 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.5764, allocations: 0 / 0.7649 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003248/0.5767, allocations: 98.97 kB / 0.765 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.5769, allocations: 4.969 kB / 0.765 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003317/0.5802, allocations: 1.848 MB / 0.7668 GB, free: 20.07 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.5806, allocations: 0.6889 MB / 0.7675 GB, free: 19.37 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001207/0.5807, allocations: 20.06 kB / 0.7675 GB, free: 19.37 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.613e-05/0.5808, allocations: 17.28 kB / 0.7675 GB, free: 19.36 MB / 0.5919 GB Notification: Performance of SimCode: time 4.21e-07/0.5808, allocations: 0 / 0.7675 GB, free: 19.36 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02772/0.6085, allocations: 1.958 MB / 0.7694 GB, free: 18.98 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.961/8.57, allocations: 9.344 kB / 0.7694 GB, free: 18.98 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothMin.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.356546678114682] Failed to read output from testmodel.py, exit status != 0: 8.637168125715107 8.654196992 8.454461851 Calling exit ...