Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.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.0008008/0.0008008, allocations: 76.5 kB / 19.93 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.0008407/0.0008407, allocations: 169.9 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.9208/0.9208, 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.5922/0.5922, allocations: 114 MB / 373.9 MB, free: 8.715 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.FallingFactorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 0 / 0.5542 GB, free: 2.762 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.856e-05/3.12e-05, allocations: 7.625 kB / 0.5542 GB, free: 2.754 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.00281/0.002842, allocations: 1.534 MB / 0.5557 GB, free: 1.211 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0003177/0.003159, allocations: 143.5 kB / 0.5558 GB, free: 1.07 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.494e-05/0.003194, allocations: 4 kB / 0.5558 GB, free: 1.066 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.873e-05/0.003223, allocations: 3.938 kB / 0.5558 GB, free: 1.062 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 3.791e-05/0.003261, allocations: 0 / 0.5558 GB, free: 1.062 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003126/0.003574, allocations: 39.83 kB / 0.5559 GB, free: 1.023 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 6.71e-05/0.003641, allocations: 27.92 kB / 0.5559 GB, free: 0.9961 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 9.969e-05/0.00374, allocations: 15.97 kB / 0.5559 GB, free: 0.9805 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.037e-05/0.003781, allocations: 23.92 kB / 0.5559 GB, free: 0.957 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 3.688e-05/0.003818, allocations: 15.98 kB / 0.556 GB, free: 0.9414 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.003832, allocations: 0 / 0.556 GB, free: 0.9414 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 7.542e-05/0.003907, allocations: 19.98 kB / 0.556 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.478e-05/0.003922, allocations: 19.91 kB / 0.556 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.667e-05/0.003939, allocations: 4 kB / 0.556 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.004069, allocations: 59.8 kB / 0.5561 GB, free: 0.8398 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.004073, allocations: 0 / 0.5561 GB, free: 0.8398 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.244e-06/0.004075, allocations: 0 / 0.5561 GB, free: 0.8398 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.004079, allocations: 0 / 0.5561 GB, free: 0.8398 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003628/0.004442, allocations: 274.3 kB / 0.5563 GB, free: 0.5391 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.00448, allocations: 8.625 kB / 0.5563 GB, free: 0.5312 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.983e-05/0.004509, allocations: 38.75 kB / 0.5564 GB, free: 496 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.462e-05/0.004534, allocations: 8.875 kB / 0.5564 GB, free: 488 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.29e-05/0.004607, allocations: 109.7 kB / 0.5565 GB, free: 352 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.004626, allocations: 8.375 kB / 0.5565 GB, free: 344 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.317e-06/0.004635, allocations: 4.375 kB / 0.5565 GB, free: 340 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.004773, allocations: 66.22 kB / 0.5566 GB, free: 268 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.992e-06/0.004779, allocations: 4.125 kB / 0.5566 GB, free: 264 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.824e-06/0.004787, allocations: 384 / 0.5566 GB, free: 264 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.004792, allocations: 4.125 kB / 0.5566 GB, free: 260 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.004893, allocations: 43.95 kB / 0.5566 GB, free: 216 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003407/0.005234, allocations: 243.9 kB / 0.5568 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002206/0.005455, allocations: 70.45 kB / 0.5569 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.856e-05/0.005503, allocations: 20.91 kB / 0.5569 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001081/0.005611, allocations: 19.98 kB / 0.5569 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.511e-05/0.005626, allocations: 30.56 kB / 0.557 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.005627, allocations: 0 / 0.557 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0002378/0.005865, allocations: 101.6 kB / 0.5571 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/0.005889, allocations: 51.41 kB / 0.5571 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.885e-05/0.005948, allocations: 109.8 kB / 0.5572 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.005959, allocations: 25.7 kB / 0.5572 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.65e-05/0.005995, allocations: 88.09 kB / 0.5573 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.536e-05/0.006011, allocations: 15.88 kB / 0.5573 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.756e-05/0.006038, allocations: 13.72 kB / 0.5574 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.08e-05/0.006119, allocations: 318.8 kB / 0.5577 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.121e-05/0.00617, allocations: 19.97 kB / 0.5577 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.532e-05/0.006216, allocations: 19.98 kB / 0.5577 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.029e-05/0.006306, allocations: 52.75 kB / 0.5578 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.006308, allocations: 0 / 0.5578 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001192/0.006427, allocations: 73.59 kB / 0.5578 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.00644, allocations: 8 kB / 0.5578 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.006445, allocations: 0 / 0.5578 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.006456, allocations: 0 / 0.5578 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.211e-05/0.006508, allocations: 15.98 kB / 0.5578 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.006513, allocations: 0 / 0.5578 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.772e-05/0.00654, allocations: 11.92 kB / 0.5579 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.006546, allocations: 0 / 0.5579 GB, free: 14.8 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: 2 (falFac.y,rea2Int.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.929e-05/0.006605, allocations: 113.8 kB / 0.558 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.474e-05/0.00662, allocations: 7.891 kB / 0.558 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001573/0.006777, allocations: 85.58 kB / 0.5581 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.006779, allocations: 0 / 0.5581 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.006783, allocations: 4 kB / 0.5581 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.006787, allocations: 3.984 kB / 0.5581 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.0069, allocations: 136.7 kB / 0.5582 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.006901, allocations: 4 kB / 0.5582 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.641e-05/0.006938, allocations: 11.98 kB / 0.5582 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.006941, allocations: 4 kB / 0.5582 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.006947, allocations: 0 / 0.5582 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.006949, allocations: 0 / 0.5582 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.00695, allocations: 3.938 kB / 0.5582 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001542/0.007105, allocations: 179.8 kB / 0.5584 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.178e-05/0.007116, allocations: 8 kB / 0.5584 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.00713, allocations: 3.984 kB / 0.5584 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.959e-05/0.00717, allocations: 4 kB / 0.5584 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.473e-05/0.007215, allocations: 7.984 kB / 0.5584 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-06/0.007218, allocations: 4 kB / 0.5584 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.066e-05/0.007249, allocations: 91.56 kB / 0.5585 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.007249, allocations: 0 / 0.5585 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001576/0.007406, allocations: 15.94 kB / 0.5585 GB, free: 14.05 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: 2 (rea2Int.y,falFac.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.0003794/0.007786, allocations: 0.7046 MB / 0.5592 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001421/0.007928, allocations: 47.89 kB / 0.5593 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.007929, allocations: 0 / 0.5593 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.072e-05/0.00798, allocations: 27.97 kB / 0.5593 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.008214, allocations: 0 / 0.5593 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009591/0.009173, allocations: 1.306 MB / 0.5606 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.576e-05/0.009219, allocations: 63.34 kB / 0.5606 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.819e-05/0.009247, allocations: 8 kB / 0.5606 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.902e-05/0.009286, allocations: 16.5 kB / 0.5606 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of SimCode: time 3.91e-07/0.009286, allocations: 0 / 0.5606 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01521/0.02449, allocations: 2.374 MB / 0.563 GB, free: 9.52 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.034/7.059, allocations: 11.53 kB / 0.563 GB, free: 9.512 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_FallingFactorial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.618532104417682] Failed to read output from testmodel.py, exit status != 0: 7.144052630290389 7.155662904 7.148811314 Calling exit ...