Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.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.001192/0.001192, allocations: 76.5 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.001312/0.001312, 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.8756/0.8756, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.5559/0.5559, allocations: 114 MB / 373.9 MB, free: 8.727 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.SmoothLimit,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.016e-06/3.016e-06, allocations: 4 kB / 0.5542 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.795e-05/2.097e-05, allocations: 7.906 kB / 0.5542 GB, free: 2.758 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.002728/0.002749, allocations: 1.462 MB / 0.5556 GB, free: 1.289 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0009676/0.003717, allocations: 0.5727 MB / 0.5562 GB, free: 0.7109 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.864e-05/0.003776, allocations: 4 kB / 0.5562 GB, free: 0.707 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.002e-05/0.003806, allocations: 3.938 kB / 0.5562 GB, free: 0.7031 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.872e-05/0.003854, allocations: 7.938 kB / 0.5562 GB, free: 0.6953 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003286/0.004183, allocations: 51.81 kB / 0.5563 GB, free: 0.6445 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.004292, allocations: 31.86 kB / 0.5563 GB, free: 0.6133 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 9.679e-05/0.004389, allocations: 7.984 kB / 0.5563 GB, free: 0.6055 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001461/0.004535, allocations: 31.8 kB / 0.5563 GB, free: 0.5742 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.846e-05/0.004584, allocations: 7.984 kB / 0.5563 GB, free: 0.5664 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.004598, allocations: 8 kB / 0.5563 GB, free: 0.5586 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001221/0.00472, allocations: 55.94 kB / 0.5564 GB, free: 0.5039 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.284e-05/0.004733, allocations: 3.938 kB / 0.5564 GB, free: 0.5 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.084e-05/0.004754, allocations: 8 kB / 0.5564 GB, free: 0.4922 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.004913, allocations: 79.7 kB / 0.5565 GB, free: 424 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.004916, allocations: 0 / 0.5565 GB, free: 424 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.162e-06/0.004917, allocations: 4 kB / 0.5565 GB, free: 420 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.004921, allocations: 0 / 0.5565 GB, free: 420 kB / 0.5105 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.0003746/0.005296, allocations: 270.2 kB / 0.5567 GB, free: 120 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.005336, allocations: 12.62 kB / 0.5568 GB, free: 108 kB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.677e-05/0.005363, allocations: 30.75 kB / 0.5568 GB, free: 68 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007396/0.01276, allocations: 2.443 MB / 0.5592 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000207/0.01297, allocations: 157.5 kB / 0.5593 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.01297, allocations: 384 / 0.5593 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.013, allocations: 8.297 kB / 0.5593 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002584/0.01558, allocations: 1.017 MB / 0.5603 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.01559, allocations: 4.188 kB / 0.5603 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.161e-05/0.01562, allocations: 4.125 kB / 0.5603 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.01563, allocations: 0 / 0.5603 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007003/0.02263, allocations: 1.865 MB / 0.5622 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004755/0.02739, allocations: 1.407 MB / 0.5635 GB, free: 9.082 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005905/0.03329, allocations: 1.875 MB / 0.5654 GB, free: 7.195 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002217/0.03551, allocations: 0.9373 MB / 0.5663 GB, free: 6.254 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.03553, allocations: 0 / 0.5663 GB, free: 6.254 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.03555, allocations: 34.56 kB / 0.5663 GB, free: 6.211 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.332e-06/0.03555, allocations: 4 kB / 0.5663 GB, free: 6.207 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.006683/0.04223, allocations: 2.749 MB / 0.569 GB, free: 3.449 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.04226, allocations: 55.34 kB / 0.569 GB, free: 3.383 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.482e-05/0.04233, allocations: 109.8 kB / 0.5692 GB, free: 3.266 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.04235, allocations: 29.7 kB / 0.5692 GB, free: 3.23 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.421e-05/0.04239, allocations: 88.06 kB / 0.5693 GB, free: 3.141 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.04242, allocations: 7.953 kB / 0.5693 GB, free: 3.133 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.683e-05/0.04249, allocations: 25.69 kB / 0.5693 GB, free: 3.102 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.593e-05/0.04255, allocations: 310.8 kB / 0.5696 GB, free: 2.789 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002201/0.04475, allocations: 0.9326 MB / 0.5705 GB, free: 1.855 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002307/0.04706, allocations: 0.9248 MB / 0.5714 GB, free: 0.9297 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005584/0.05264, allocations: 1.683 MB / 0.573 GB, free: 15.24 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.05265, allocations: 0 / 0.573 GB, free: 15.24 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.005449/0.0581, allocations: 1.816 MB / 0.5748 GB, free: 13.42 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.05812, allocations: 8 kB / 0.5748 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.05813, allocations: 4.031 kB / 0.5748 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.05814, allocations: 0 / 0.5748 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/0.05943, allocations: 467.4 kB / 0.5753 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.05943, allocations: 0 / 0.5753 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/0.06065, allocations: 451.5 kB / 0.5757 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.06067, allocations: 7.984 kB / 0.5757 GB, free: 12.5 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.927e-05/0.06076, allocations: 110.2 kB / 0.5758 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.793e-05/0.0608, allocations: 11.89 kB / 0.5758 GB, free: 12.37 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.375e-05/0.06084, allocations: 7.625 kB / 0.5758 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.06085, allocations: 4 kB / 0.5758 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.06085, allocations: 7.922 kB / 0.5759 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.06085, allocations: 0 / 0.5759 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002744/0.06113, allocations: 277.7 kB / 0.5761 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.06113, allocations: 3.938 kB / 0.5761 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001261/0.06239, allocations: 459.5 kB / 0.5766 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.0624, allocations: 0 / 0.5766 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/0.06242, allocations: 7.984 kB / 0.5766 GB, free: 11.58 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.06242, allocations: 0 / 0.5766 GB, free: 11.58 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.06242, allocations: 4 kB / 0.5766 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004655/0.06708, allocations: 1.904 MB / 0.5784 GB, free: 9.652 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 1.465e-05/0.06709, allocations: 15.89 kB / 0.5784 GB, free: 9.637 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.015e-05/0.06712, allocations: 0 / 0.5784 GB, free: 9.637 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001244/0.06837, allocations: 455.5 kB / 0.5789 GB, free: 9.191 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.933e-05/0.0684, allocations: 4 kB / 0.5789 GB, free: 9.188 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.06841, allocations: 3.984 kB / 0.5789 GB, free: 9.184 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.159e-05/0.06846, allocations: 95.2 kB / 0.579 GB, free: 9.09 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7e-08/0.06846, allocations: 0 / 0.579 GB, free: 9.09 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002025/0.06866, allocations: 40 kB / 0.579 GB, free: 9.051 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 (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.004865/0.07352, allocations: 2.433 MB / 0.5814 GB, free: 6.59 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.004765/0.07829, allocations: 1.869 MB / 0.5832 GB, free: 4.719 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.07829, allocations: 0 / 0.5832 GB, free: 4.719 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00239/0.08068, allocations: 0.9444 MB / 0.5841 GB, free: 3.773 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001965/0.08088, allocations: 2.031 kB / 0.5841 GB, free: 3.773 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01598/0.09686, allocations: 6.801 MB / 0.5908 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.863e-05/0.09691, allocations: 71.31 kB / 0.5909 GB, free: 12.8 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001737/0.09709, allocations: 32 kB / 0.5909 GB, free: 12.77 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001602/0.09725, allocations: 28.45 kB / 0.5909 GB, free: 12.73 MB / 0.5573 GB Notification: Performance of SimCode: time 1.412e-06/0.09725, allocations: 0 / 0.5909 GB, free: 12.73 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01971/0.117, allocations: 4.308 MB / 0.5951 GB, free: 8.543 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.029/7.146, allocations: 12 kB / 0.5951 GB, free: 8.531 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit_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_SmoothLimit.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.700981486588717] Failed to read output from testmodel.py, exit status != 0: 7.230444434098899 7.242890089 7.235617126 Calling exit ...