Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000814/0.000814, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008471/0.0008471, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8714/0.8714, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5704/0.5704, allocations: 114 MB / 373.9 MB, free: 8.691 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothMin,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothMin,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.695e-06/2.695e-06, allocations: 0 / 0.5542 GB, free: 2.73 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.597e-05/2.866e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.727 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothMin): time 0.002799/0.002827, allocations: 1.477 MB / 0.5556 GB, free: 1.242 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0004864/0.003314, allocations: 135.6 kB / 0.5558 GB, free: 1.109 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.951e-05/0.003353, allocations: 0 / 0.5558 GB, free: 1.109 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 5.264e-05/0.003406, allocations: 3.938 kB / 0.5558 GB, free: 1.105 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 8.738e-05/0.003493, allocations: 7.938 kB / 0.5558 GB, free: 1.098 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.00029/0.003783, allocations: 31.84 kB / 0.5558 GB, free: 1.066 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.003909, allocations: 43.89 kB / 0.5559 GB, free: 1.023 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.004059, allocations: 15.94 kB / 0.5559 GB, free: 1.008 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 7.266e-05/0.004131, allocations: 19.98 kB / 0.5559 GB, free: 0.9883 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.67e-05/0.004178, allocations: 15.98 kB / 0.5559 GB, free: 0.9727 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.004197, allocations: 7.938 kB / 0.5559 GB, free: 0.9648 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.004302, allocations: 39.89 kB / 0.5559 GB, free: 0.9258 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.014e-05/0.004322, allocations: 7.984 kB / 0.556 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.665e-05/0.004349, allocations: 8 kB / 0.556 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.004524, allocations: 75.78 kB / 0.556 GB, free: 0.8359 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.004529, allocations: 0 / 0.556 GB, free: 0.8359 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.385e-06/0.004532, allocations: 0 / 0.556 GB, free: 0.8359 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.004538, allocations: 0 / 0.556 GB, free: 0.8359 MB / 0.5105 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.0004673/0.005005, allocations: 286.1 kB / 0.5563 GB, free: 0.5234 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.005055, allocations: 16.62 kB / 0.5563 GB, free: 0.5078 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.418e-05/0.005099, allocations: 34.75 kB / 0.5564 GB, free: 476 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009563/0.006055, allocations: 208.5 kB / 0.5566 GB, free: 268 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.006168, allocations: 113.8 kB / 0.5567 GB, free: 128 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.006185, allocations: 4.375 kB / 0.5567 GB, free: 124 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.006203, allocations: 4.375 kB / 0.5567 GB, free: 120 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005325/0.006735, allocations: 201.9 kB / 0.5569 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.006745, allocations: 4.125 kB / 0.5569 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.006761, allocations: 384 / 0.5569 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.006769, allocations: 4.125 kB / 0.5569 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007115/0.00748, allocations: 283.6 kB / 0.5571 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007438/0.008224, allocations: 376.7 kB / 0.5575 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005664/0.00879, allocations: 302 kB / 0.5578 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/0.008977, allocations: 104.8 kB / 0.5579 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.224e-05/0.009009, allocations: 4 kB / 0.5579 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.009034, allocations: 30.56 kB / 0.5579 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.973e-06/0.009036, allocations: 0 / 0.5579 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0006385/0.009675, allocations: 313.3 kB / 0.5582 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.009709, allocations: 51.41 kB / 0.5583 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.376e-05/0.009783, allocations: 117.8 kB / 0.5584 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.009797, allocations: 25.7 kB / 0.5584 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.256e-05/0.00984, allocations: 96.02 kB / 0.5585 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.009864, allocations: 11.95 kB / 0.5585 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.853e-05/0.009903, allocations: 13.72 kB / 0.5585 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.504e-05/0.009988, allocations: 318.8 kB / 0.5588 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.01017, allocations: 95.88 kB / 0.5589 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.01034, allocations: 95.88 kB / 0.559 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004017/0.01074, allocations: 180.6 kB / 0.5592 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.01074, allocations: 0 / 0.5592 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004303/0.01117, allocations: 217.3 kB / 0.5594 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.01119, allocations: 4 kB / 0.5594 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.0112, allocations: 0 / 0.5594 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.01122, allocations: 4 kB / 0.5594 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.01137, allocations: 31.95 kB / 0.5594 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.01138, allocations: 0 / 0.5594 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.491e-05/0.01147, allocations: 31.94 kB / 0.5595 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.01149, allocations: 4 kB / 0.5595 GB, free: 13.12 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 (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 8.748e-05/0.01157, allocations: 113.8 kB / 0.5596 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.974e-05/0.01159, allocations: 7.938 kB / 0.5596 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.192e-05/0.01165, allocations: 19.98 kB / 0.5596 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.01165, allocations: 0 / 0.5596 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.01166, allocations: 0 / 0.5596 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.01166, allocations: 0 / 0.5596 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001822/0.01184, allocations: 172.7 kB / 0.5598 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.01185, allocations: 384 / 0.5598 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.01196, allocations: 35.94 kB / 0.5598 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.01196, allocations: 0 / 0.5598 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.01197, allocations: 8 kB / 0.5598 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.01197, allocations: 3.938 kB / 0.5598 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.01197, allocations: 0 / 0.5598 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004266/0.0124, allocations: 311.2 kB / 0.5601 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.764e-05/0.01242, allocations: 8.328 kB / 0.5601 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.01243, allocations: 4 kB / 0.5601 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.01254, allocations: 35.94 kB / 0.5602 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.685e-05/0.01258, allocations: 0 / 0.5602 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.01258, allocations: 0 / 0.5602 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.573e-05/0.01263, allocations: 95.27 kB / 0.5602 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.01263, allocations: 0 / 0.5602 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001763/0.0128, allocations: 12 kB / 0.5603 GB, free: 12.24 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 () * 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.0006855/0.01349, allocations: 0.845 MB / 0.5611 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004132/0.0139, allocations: 191.8 kB / 0.5613 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.01391, allocations: 4 kB / 0.5613 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001801/0.01409, allocations: 99.86 kB / 0.5614 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.01429, allocations: 10.12 kB / 0.5614 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002131/0.01642, allocations: 1.854 MB / 0.5632 GB, free: 9.137 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.907e-05/0.01649, allocations: 79.19 kB / 0.5633 GB, free: 9.039 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.703e-05/0.01656, allocations: 19.98 kB / 0.5633 GB, free: 9.02 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.835e-05/0.01663, allocations: 16.5 kB / 0.5633 GB, free: 9 MB / 0.5261 GB Notification: Performance of SimCode: time 1.302e-06/0.01663, allocations: 0 / 0.5633 GB, free: 9 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01775/0.03438, allocations: 2.678 MB / 0.5659 GB, free: 6.469 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.295/7.329, allocations: 2.75 kB / 0.5659 GB, free: 6.469 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothMin.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.791433962993324] Failed to read output from testmodel.py, exit status != 0: 7.408890769816935 7.416879114 7.410401425 Calling exit ...