Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.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.0008245/0.0008245, allocations: 72.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.0008872/0.0008872, 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.9032/0.9032, 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.5924/0.5924, allocations: 114 MB / 373.9 MB, free: 8.711 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.Functions.Examples.Factorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Factorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.Factorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Factorial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.5542 GB, free: 1.641 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.348e-05/1.522e-05, allocations: 2.281 kB / 0.5542 GB, free: 1.637 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.001041/0.001056, allocations: 0.5846 MB / 0.5548 GB, free: 1.059 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002196/0.001275, allocations: 39.88 kB / 0.5549 GB, free: 1.02 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.514e-05/0.001291, allocations: 0 / 0.5549 GB, free: 1.02 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 1.715e-05/0.001308, allocations: 7.938 kB / 0.5549 GB, free: 1.012 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 7.213e-06/0.001315, allocations: 0 / 0.5549 GB, free: 1.012 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002296/0.001545, allocations: 15.86 kB / 0.5549 GB, free: 0.9961 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 4.484e-05/0.001589, allocations: 4 kB / 0.5549 GB, free: 0.9922 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.983e-05/0.001629, allocations: 0 / 0.5549 GB, free: 0.9922 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.479e-05/0.001654, allocations: 4 kB / 0.5549 GB, free: 0.9883 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.99e-05/0.001674, allocations: 7.969 kB / 0.5549 GB, free: 0.9805 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.001685, allocations: 4 kB / 0.5549 GB, free: 0.9766 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.907e-05/0.001754, allocations: 8 kB / 0.5549 GB, free: 0.9688 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 1.033e-05/0.001764, allocations: 4 kB / 0.5549 GB, free: 0.9648 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 1.3e-05/0.001777, allocations: 0 / 0.5549 GB, free: 0.9648 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 8.22e-05/0.001859, allocations: 7.984 kB / 0.5549 GB, free: 0.957 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.001861, allocations: 0 / 0.5549 GB, free: 0.957 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.001862, allocations: 0 / 0.5549 GB, free: 0.957 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.001866, allocations: 0 / 0.5549 GB, free: 0.957 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002028/0.002069, allocations: 238.5 kB / 0.5551 GB, free: 0.6914 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.002105, allocations: 12.62 kB / 0.5552 GB, free: 0.6797 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.502e-05/0.00213, allocations: 34.75 kB / 0.5552 GB, free: 0.6367 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.191e-05/0.002152, allocations: 4.875 kB / 0.5552 GB, free: 0.6328 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.093e-05/0.002203, allocations: 101.8 kB / 0.5553 GB, free: 0.5078 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.002212, allocations: 4.375 kB / 0.5553 GB, free: 0.5039 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.613e-06/0.002219, allocations: 4.312 kB / 0.5553 GB, free: 0.5 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.155e-05/0.0023, allocations: 38.25 kB / 0.5553 GB, free: 468 kB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.002307, allocations: 192 / 0.5553 GB, free: 468 kB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/0.002315, allocations: 4.359 kB / 0.5553 GB, free: 464 kB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.00232, allocations: 4.125 kB / 0.5553 GB, free: 460 kB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.24e-05/0.002352, allocations: 4 kB / 0.5553 GB, free: 456 kB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001036/0.002456, allocations: 120.8 kB / 0.5555 GB, free: 292 kB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.757e-05/0.002503, allocations: 34.5 kB / 0.5555 GB, free: 248 kB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.392e-05/0.002517, allocations: 4.859 kB / 0.5555 GB, free: 240 kB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001195/0.002637, allocations: 8 kB / 0.5555 GB, free: 232 kB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.736e-05/0.002654, allocations: 38.56 kB / 0.5555 GB, free: 184 kB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.002655, allocations: 0 / 0.5555 GB, free: 184 kB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001202/0.002775, allocations: 37.69 kB / 0.5556 GB, free: 140 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/0.002804, allocations: 59.28 kB / 0.5556 GB, free: 68 kB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.733e-05/0.002842, allocations: 93.86 kB / 0.5557 GB, free: 15.96 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.416e-06/0.00285, allocations: 25.7 kB / 0.5557 GB, free: 15.93 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.614e-05/0.002866, allocations: 84.27 kB / 0.5558 GB, free: 15.85 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.84e-05/0.002884, allocations: 11.89 kB / 0.5558 GB, free: 15.84 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.123e-05/0.002906, allocations: 9.719 kB / 0.5558 GB, free: 15.82 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.269e-05/0.002978, allocations: 322.8 kB / 0.5562 GB, free: 15.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.448e-06/0.002988, allocations: 0 / 0.5562 GB, free: 15.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.513e-06/0.002994, allocations: 4 kB / 0.5562 GB, free: 15.49 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.488e-05/0.003019, allocations: 8.859 kB / 0.5562 GB, free: 15.48 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.003021, allocations: 0 / 0.5562 GB, free: 15.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.76e-05/0.003059, allocations: 41.69 kB / 0.5562 GB, free: 15.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.00307, allocations: 8.094 kB / 0.5562 GB, free: 15.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.003074, allocations: 0 / 0.5562 GB, free: 15.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.003085, allocations: 3.938 kB / 0.5562 GB, free: 15.42 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.41e-05/0.003129, allocations: 4 kB / 0.5562 GB, free: 15.42 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.003135, allocations: 3.938 kB / 0.5562 GB, free: 15.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.507e-06/0.003144, allocations: 4 kB / 0.5562 GB, free: 15.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.176e-06/0.003147, allocations: 0 / 0.5562 GB, free: 15.41 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 (n,fac) * 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 4.369e-05/0.003191, allocations: 105.8 kB / 0.5563 GB, free: 15.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.326e-06/0.003194, allocations: 0 / 0.5563 GB, free: 15.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.247e-05/0.003257, allocations: 48.84 kB / 0.5564 GB, free: 15.24 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.003259, allocations: 4.031 kB / 0.5564 GB, free: 15.24 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.003264, allocations: 7.875 kB / 0.5564 GB, free: 15.23 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.003266, allocations: 4 kB / 0.5564 GB, free: 15.23 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.446e-05/0.00332, allocations: 120.8 kB / 0.5565 GB, free: 15.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-07/0.003321, allocations: 0 / 0.5565 GB, free: 15.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.668e-06/0.003331, allocations: 4 kB / 0.5565 GB, free: 15.06 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.42e-07/0.003332, allocations: 0 / 0.5565 GB, free: 15.06 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.003342, allocations: 0 / 0.5565 GB, free: 15.06 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.003343, allocations: 3.938 kB / 0.5565 GB, free: 15.06 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.003344, allocations: 7.938 kB / 0.5565 GB, free: 15.05 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.521e-05/0.00339, allocations: 65.12 kB / 0.5566 GB, free: 14.97 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.226e-06/0.003393, allocations: 0 / 0.5566 GB, free: 14.97 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.077e-06/0.003402, allocations: 4 kB / 0.5566 GB, free: 14.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.438e-06/0.003406, allocations: 0 / 0.5566 GB, free: 14.96 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.443e-05/0.003431, allocations: 7.922 kB / 0.5566 GB, free: 14.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.003433, allocations: 0 / 0.5566 GB, free: 14.96 MB / 490.7 MB Notification: Performance of sorting global known variables: time 1.837e-05/0.003451, allocations: 79.22 kB / 0.5567 GB, free: 14.88 MB / 490.7 MB Notification: Performance of sort global known variables: time 4e-08/0.003451, allocations: 0 / 0.5567 GB, free: 14.88 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001183/0.003569, allocations: 4 kB / 0.5567 GB, free: 14.88 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,n) * 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.000242/0.003811, allocations: 0.6047 MB / 0.5573 GB, free: 14.24 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.26e-05/0.003874, allocations: 8 kB / 0.5573 GB, free: 14.23 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.003875, allocations: 0 / 0.5573 GB, free: 14.23 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.066e-05/0.003886, allocations: 7.984 kB / 0.5573 GB, free: 14.23 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.42e-05/0.00398, allocations: 9.188 kB / 0.5573 GB, free: 14.22 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002202/0.0042, allocations: 114.1 kB / 0.5574 GB, free: 14.07 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.109e-05/0.004232, allocations: 59.34 kB / 0.5575 GB, free: 13.99 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 8.887e-06/0.00424, allocations: 0 / 0.5575 GB, free: 13.99 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.893e-05/0.004259, allocations: 12.5 kB / 0.5575 GB, free: 13.98 MB / 490.7 MB Notification: Performance of SimCode: time 4.1e-07/0.00426, allocations: 4.125 kB / 0.5575 GB, free: 13.98 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01303/0.01729, allocations: 1.709 MB / 0.5591 GB, free: 12.41 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.041/7.059, allocations: 2.812 kB / 0.5591 GB, free: 12.41 MB / 490.7 MB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Factorial_fmu --startTime=0 --stopTime=12.9 --stepSize=0.00516 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Factorial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.554355509579182] Failed to read output from testmodel.py, exit status != 0: 7.1390468291938305 7.149175628 7.145437441 Calling exit ...