Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.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.0009755/0.0009755, allocations: 76.5 kB / 19.92 MB, free: 4.633 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.001053/0.001053, allocations: 170.3 kB / 23.21 MB, free: 1.355 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.9084/0.9084, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.5642/0.5642, allocations: 114 MB / 373.9 MB, free: 8.707 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.Factorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Factorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Factorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Factorial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 0.5542 GB, free: 1.707 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.571e-05/1.758e-05, allocations: 8.812 kB / 0.5542 GB, free: 1.699 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Factorial): time 0.001771/0.001789, allocations: 1.53 MB / 0.5557 GB, free: 164 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.000289/0.002078, allocations: 131.5 kB / 0.5558 GB, free: 32 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.208e-05/0.00211, allocations: 0 / 0.5558 GB, free: 32 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 2.731e-05/0.002137, allocations: 7.938 kB / 0.5558 GB, free: 24 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 3.93e-05/0.002177, allocations: 7.922 kB / 0.5558 GB, free: 16 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002447/0.002421, allocations: 23.97 kB / 0.5558 GB, free: 15.99 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.691e-05/0.002488, allocations: 35.8 kB / 0.5559 GB, free: 15.96 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.819e-05/0.002576, allocations: 0 / 0.5559 GB, free: 15.96 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.88e-05/0.002625, allocations: 19.98 kB / 0.5559 GB, free: 15.94 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.012e-05/0.002665, allocations: 11.92 kB / 0.5559 GB, free: 15.93 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.002679, allocations: 4 kB / 0.5559 GB, free: 15.92 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.52e-05/0.002734, allocations: 15.98 kB / 0.5559 GB, free: 15.91 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.172e-05/0.002746, allocations: 7.984 kB / 0.5559 GB, free: 15.9 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.657e-05/0.002762, allocations: 12 kB / 0.5559 GB, free: 15.89 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.002867, allocations: 39.81 kB / 0.556 GB, free: 15.85 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.002869, allocations: 0 / 0.556 GB, free: 15.85 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.00287, allocations: 0 / 0.556 GB, free: 15.85 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.277e-06/0.002873, allocations: 0 / 0.556 GB, free: 15.85 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003265/0.003199, allocations: 270.3 kB / 0.5562 GB, free: 15.55 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.003237, allocations: 12.03 kB / 0.5563 GB, free: 15.54 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.704e-05/0.003264, allocations: 30.75 kB / 0.5563 GB, free: 15.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.06e-05/0.003285, allocations: 4.875 kB / 0.5563 GB, free: 15.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.558e-05/0.003361, allocations: 109.7 kB / 0.5564 GB, free: 15.36 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.00338, allocations: 8.312 kB / 0.5564 GB, free: 15.36 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.378e-06/0.003389, allocations: 4.375 kB / 0.5564 GB, free: 15.35 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.003513, allocations: 58.22 kB / 0.5565 GB, free: 15.29 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.00352, allocations: 4.188 kB / 0.5565 GB, free: 15.29 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.003528, allocations: 384 / 0.5565 GB, free: 15.29 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.003534, allocations: 4.125 kB / 0.5565 GB, free: 15.28 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.745e-05/0.003631, allocations: 39.95 kB / 0.5565 GB, free: 15.24 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002758/0.003907, allocations: 228 kB / 0.5567 GB, free: 14.98 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.004107, allocations: 62.53 kB / 0.5568 GB, free: 14.91 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.801e-05/0.004155, allocations: 20.84 kB / 0.5568 GB, free: 14.88 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.765e-05/0.004223, allocations: 11.92 kB / 0.5568 GB, free: 14.87 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.54e-05/0.004238, allocations: 38.56 kB / 0.5569 GB, free: 14.82 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.004239, allocations: 0 / 0.5569 GB, free: 14.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002259/0.004465, allocations: 89.58 kB / 0.5569 GB, free: 14.73 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.615e-05/0.004491, allocations: 59.39 kB / 0.557 GB, free: 14.66 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.933e-05/0.004541, allocations: 97.86 kB / 0.5571 GB, free: 14.55 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.337e-06/0.00455, allocations: 25.7 kB / 0.5571 GB, free: 14.52 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.584e-05/0.004586, allocations: 88.14 kB / 0.5572 GB, free: 14.43 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.365e-05/0.0046, allocations: 7.938 kB / 0.5572 GB, free: 14.43 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.62e-05/0.004626, allocations: 13.72 kB / 0.5572 GB, free: 14.41 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.155e-05/0.004697, allocations: 318.8 kB / 0.5575 GB, free: 14.09 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.426e-05/0.004742, allocations: 19.97 kB / 0.5575 GB, free: 14.07 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.022e-05/0.004782, allocations: 19.98 kB / 0.5576 GB, free: 14.05 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.398e-05/0.004866, allocations: 49.28 kB / 0.5576 GB, free: 14 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.004867, allocations: 0 / 0.5576 GB, free: 14 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001083/0.004975, allocations: 89.47 kB / 0.5577 GB, free: 13.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.004986, allocations: 5.719 kB / 0.5577 GB, free: 13.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.004991, allocations: 0 / 0.5577 GB, free: 13.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.297e-06/0.005, allocations: 0 / 0.5577 GB, free: 13.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.076e-05/0.005041, allocations: 11.98 kB / 0.5577 GB, free: 13.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.005046, allocations: 4 kB / 0.5577 GB, free: 13.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.575e-05/0.005071, allocations: 7.984 kB / 0.5577 GB, free: 13.88 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.005076, allocations: 4 kB / 0.5577 GB, free: 13.87 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (rea2Int.y,fac.y) * 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 5.103e-05/0.005127, allocations: 105.8 kB / 0.5578 GB, free: 13.76 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.408e-05/0.005142, allocations: 7.938 kB / 0.5578 GB, free: 13.75 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001482/0.00529, allocations: 81.33 kB / 0.5579 GB, free: 13.66 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.005292, allocations: 4 kB / 0.5579 GB, free: 13.66 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.005296, allocations: 4 kB / 0.5579 GB, free: 13.66 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.005299, allocations: 0 / 0.5579 GB, free: 13.66 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.853e-05/0.005397, allocations: 132.7 kB / 0.558 GB, free: 13.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.005398, allocations: 3.938 kB / 0.558 GB, free: 13.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.167e-05/0.00543, allocations: 15.92 kB / 0.5581 GB, free: 13.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.005431, allocations: 0 / 0.5581 GB, free: 13.46 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.74e-06/0.005437, allocations: 0 / 0.5581 GB, free: 13.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.00544, allocations: 7.984 kB / 0.5581 GB, free: 13.46 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.00544, allocations: 0 / 0.5581 GB, free: 13.46 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.005568, allocations: 171.5 kB / 0.5582 GB, free: 13.27 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-06/0.005574, allocations: 7.875 kB / 0.5582 GB, free: 13.27 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.669e-06/0.005584, allocations: 0 / 0.5582 GB, free: 13.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.919e-05/0.005623, allocations: 11.98 kB / 0.5583 GB, free: 13.25 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.005662, allocations: 7.984 kB / 0.5583 GB, free: 13.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.005664, allocations: 0 / 0.5583 GB, free: 13.25 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.362e-05/0.005688, allocations: 83.28 kB / 0.5583 GB, free: 13.16 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005688, allocations: 0 / 0.5583 GB, free: 13.16 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000155/0.005843, allocations: 8 kB / 0.5583 GB, free: 13.16 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (fac.y,rea2Int.y) * 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.0003234/0.006167, allocations: 0.7162 MB / 0.559 GB, free: 12.41 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001314/0.006298, allocations: 44.28 kB / 0.5591 GB, free: 12.37 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.006299, allocations: 0 / 0.5591 GB, free: 12.37 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.867e-05/0.006348, allocations: 31.91 kB / 0.5591 GB, free: 12.34 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001751/0.006523, allocations: 3.719 kB / 0.5591 GB, free: 12.34 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003048/0.006828, allocations: 142.8 kB / 0.5593 GB, free: 12.16 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.901e-05/0.006867, allocations: 71.28 kB / 0.5593 GB, free: 12.07 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.988e-05/0.006887, allocations: 4 kB / 0.5593 GB, free: 12.07 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.114e-05/0.006918, allocations: 12.48 kB / 0.5593 GB, free: 12.05 MB / 490.7 MB Notification: Performance of SimCode: time 3.71e-07/0.006918, allocations: 0 / 0.5593 GB, free: 12.05 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0155/0.02242, allocations: 2.27 MB / 0.5616 GB, free: 9.922 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.037/7.06, allocations: 10.48 kB / 0.5616 GB, free: 9.918 MB / 490.7 MB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial_res.csv --start-time 0 --stop-time 13 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0052 IBPSA_latest_IBPSA_Utilities_Math_Examples_Factorial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.662209052592516] Failed to read output from testmodel.py, exit status != 0: 7.138228449970484 7.149918986 7.145200947 Calling exit ...