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.001108/0.001108, allocations: 76.55 kB / 19.93 MB, free: 4.617 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.001215/0.001215, allocations: 173.9 kB / 23.21 MB, free: 1.336 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.9094/0.9094, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.5774/0.5774, allocations: 114 MB / 373.9 MB, free: 8.703 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 1.764e-06/1.764e-06, allocations: 0 / 0.5542 GB, free: 2.758 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.464e-05/1.64e-05, allocations: 6.109 kB / 0.5542 GB, free: 2.754 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothMin): time 0.001733/0.001749, allocations: 1.467 MB / 0.5556 GB, free: 1.281 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0003122/0.002062, allocations: 139.6 kB / 0.5558 GB, free: 1.145 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.094e-05/0.002093, allocations: 0 / 0.5558 GB, free: 1.145 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.837e-05/0.002131, allocations: 3.938 kB / 0.5558 GB, free: 1.141 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 5.932e-05/0.00219, allocations: 0 / 0.5558 GB, free: 1.141 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.002399, allocations: 39.83 kB / 0.5558 GB, free: 1.102 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 8.707e-05/0.002486, allocations: 43.84 kB / 0.5559 GB, free: 1.059 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.00259, allocations: 12 kB / 0.5559 GB, free: 1.047 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.875e-05/0.002639, allocations: 35.91 kB / 0.5559 GB, free: 1.012 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 3.407e-05/0.002673, allocations: 11.98 kB / 0.5559 GB, free: 1 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.002688, allocations: 4 kB / 0.5559 GB, free: 0.9961 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 6.835e-05/0.002756, allocations: 27.97 kB / 0.5559 GB, free: 0.9688 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.44e-05/0.002781, allocations: 15.92 kB / 0.556 GB, free: 0.9531 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.164e-05/0.002802, allocations: 11.98 kB / 0.556 GB, free: 0.9414 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.000119/0.002921, allocations: 79.72 kB / 0.556 GB, free: 0.8633 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.002923, allocations: 0 / 0.556 GB, free: 0.8633 MB / 0.5105 GB Notification: Performance of FrontEnd: time 7.01e-07/0.002924, allocations: 0 / 0.556 GB, free: 0.8633 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.002928, allocations: 0 / 0.556 GB, free: 0.8633 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.0003281/0.003256, allocations: 290.1 kB / 0.5563 GB, free: 0.5469 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.003291, allocations: 8.625 kB / 0.5563 GB, free: 0.5391 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.938e-05/0.00332, allocations: 34.75 kB / 0.5564 GB, free: 0.4961 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005423/0.003863, allocations: 212.5 kB / 0.5566 GB, free: 296 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.147e-05/0.003934, allocations: 109.8 kB / 0.5567 GB, free: 160 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.003945, allocations: 8.375 kB / 0.5567 GB, free: 152 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.003958, allocations: 4.375 kB / 0.5567 GB, free: 148 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003324/0.004291, allocations: 190 kB / 0.5569 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.004299, allocations: 4.172 kB / 0.5569 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.00431, allocations: 4.375 kB / 0.5569 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.004316, allocations: 4.125 kB / 0.5569 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004362/0.004753, allocations: 287.5 kB / 0.5572 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005754/0.005328, allocations: 380.7 kB / 0.5575 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005792/0.005907, allocations: 290.2 kB / 0.5578 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001877/0.006095, allocations: 112.7 kB / 0.5579 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.006117, allocations: 0 / 0.5579 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.006137, allocations: 30.56 kB / 0.5579 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 7.22e-07/0.006138, allocations: 3.938 kB / 0.5579 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0006415/0.00678, allocations: 305.3 kB / 0.5582 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.006813, allocations: 59.34 kB / 0.5583 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.115e-05/0.006884, allocations: 117.8 kB / 0.5584 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.006898, allocations: 25.7 kB / 0.5584 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.17e-05/0.006939, allocations: 96.02 kB / 0.5585 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.006958, allocations: 15.89 kB / 0.5585 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.489e-05/0.006993, allocations: 13.72 kB / 0.5585 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.538e-05/0.007068, allocations: 318.8 kB / 0.5588 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001759/0.007244, allocations: 95.88 kB / 0.5589 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.007411, allocations: 91.88 kB / 0.559 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003638/0.007775, allocations: 180.6 kB / 0.5592 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.007777, allocations: 0 / 0.5592 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003787/0.008156, allocations: 217.4 kB / 0.5594 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.008169, allocations: 8 kB / 0.5594 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.008175, allocations: 0 / 0.5594 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.008189, allocations: 0 / 0.5594 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.008325, allocations: 35.89 kB / 0.5594 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.008331, allocations: 0 / 0.5594 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.008441, allocations: 31.94 kB / 0.5595 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.008453, allocations: 0 / 0.5595 GB, free: 13.16 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 7.394e-05/0.008527, allocations: 117.8 kB / 0.5596 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.625e-05/0.008543, allocations: 8 kB / 0.5596 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.085e-05/0.008594, allocations: 11.98 kB / 0.5596 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.008597, allocations: 4 kB / 0.5596 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.008602, allocations: 0 / 0.5596 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.008607, allocations: 0 / 0.5596 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/0.008778, allocations: 168.6 kB / 0.5598 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.31e-07/0.008779, allocations: 0 / 0.5598 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.00888, allocations: 35.94 kB / 0.5598 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.008883, allocations: 4 kB / 0.5598 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.008894, allocations: 4 kB / 0.5598 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.008896, allocations: 384 / 0.5598 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.008898, allocations: 336 / 0.5598 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004986/0.009397, allocations: 315.2 kB / 0.5601 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.525e-05/0.009412, allocations: 15.89 kB / 0.5601 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.009431, allocations: 3.938 kB / 0.5601 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.009532, allocations: 31.94 kB / 0.5602 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/0.009574, allocations: 4 kB / 0.5602 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.00958, allocations: 0 / 0.5602 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.577e-05/0.009626, allocations: 95.27 kB / 0.5603 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.009626, allocations: 0 / 0.5603 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001602/0.009786, allocations: 12 kB / 0.5603 GB, free: 12.27 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.0007134/0.0105, allocations: 0.8333 MB / 0.5611 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004168/0.01092, allocations: 199.7 kB / 0.5613 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01092, allocations: 0 / 0.5613 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001771/0.0111, allocations: 103.9 kB / 0.5614 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001934/0.01129, allocations: 3.938 kB / 0.5614 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/0.01338, allocations: 1.857 MB / 0.5632 GB, free: 9.172 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.71e-05/0.01343, allocations: 79.19 kB / 0.5633 GB, free: 9.074 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.783e-05/0.01347, allocations: 19.98 kB / 0.5633 GB, free: 9.055 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.147e-05/0.01354, allocations: 16.5 kB / 0.5633 GB, free: 9.035 MB / 0.5261 GB Notification: Performance of SimCode: time 1.022e-06/0.01354, allocations: 4 kB / 0.5633 GB, free: 9.031 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01431/0.02785, allocations: 2.67 MB / 0.5659 GB, free: 6.508 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.925/6.953, allocations: 4.875 kB / 0.5659 GB, free: 6.504 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothMin_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.575011558830738] Failed to read output from testmodel.py, exit status != 0: 7.0324621722102165 7.041517253 7.036415182 Calling exit ...