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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 106.8 kB / 16.27 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002054/0.002054, allocations: 191.6 kB / 17.2 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7346/0.7346, allocations: 122.8 MB / 413.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 59.91 kB / 0.4912 GB, free: 7.344 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3439, allocations: 77.92 MB / 0.5673 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.00287/0.3468, allocations: 1.522 MB / 0.5688 GB, free: 31.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003915/0.3472, allocations: 137.7 kB / 0.5689 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.795e-05/0.3473, allocations: 5.031 kB / 0.5689 GB, free: 31.49 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.914e-05/0.3473, allocations: 1.578 kB / 0.5689 GB, free: 31.49 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.665e-05/0.3474, allocations: 5.484 kB / 0.5689 GB, free: 31.49 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002955/0.3477, allocations: 36.5 kB / 0.5689 GB, free: 31.47 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.619e-05/0.3478, allocations: 35.34 kB / 0.569 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.3479, allocations: 17.78 kB / 0.569 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.898e-05/0.3479, allocations: 13.17 kB / 0.569 GB, free: 31.44 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.586e-05/0.348, allocations: 21.91 kB / 0.569 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.348, allocations: 3.375 kB / 0.569 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.84e-05/0.3481, allocations: 17.45 kB / 0.569 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.699e-05/0.3481, allocations: 11.55 kB / 0.5691 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.52e-05/0.3482, allocations: 18.75 kB / 0.5691 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.3483, allocations: 40.73 kB / 0.5691 GB, free: 31.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3483, allocations: 1.609 kB / 0.5691 GB, free: 31.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3483, allocations: 0 / 0.5691 GB, free: 31.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.3483, allocations: 0 / 0.5691 GB, free: 31.39 MB / 446.1 MB 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.0004336/0.3488, allocations: 350.9 kB / 0.5694 GB, free: 31.03 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.3488, allocations: 15.41 kB / 0.5695 GB, free: 31.02 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.858e-05/0.3488, allocations: 32.52 kB / 0.5695 GB, free: 30.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.164e-05/0.3489, allocations: 7.453 kB / 0.5695 GB, free: 30.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.724e-05/0.349, allocations: 177 kB / 0.5697 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.349, allocations: 2.344 kB / 0.5697 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.349, allocations: 2.438 kB / 0.5697 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.3492, allocations: 67.64 kB / 0.5697 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.3492, allocations: 5.25 kB / 0.5697 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.3493, allocations: 0 / 0.5697 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.3493, allocations: 2.531 kB / 0.5697 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00019/0.3495, allocations: 44.83 kB / 0.5698 GB, free: 30.72 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003424/0.3498, allocations: 280.9 kB / 0.5701 GB, free: 30.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003188/0.3501, allocations: 58.92 kB / 0.5701 GB, free: 30.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.631e-05/0.3503, allocations: 27.48 kB / 0.5701 GB, free: 30.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000225/0.3505, allocations: 401.6 kB / 0.5705 GB, free: 29.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.653e-05/0.3505, allocations: 33.08 kB / 0.5706 GB, free: 29.88 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.3505, allocations: 1.031 kB / 0.5706 GB, free: 29.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003924/0.3509, allocations: 98.53 kB / 0.5706 GB, free: 29.83 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.475e-05/0.351, allocations: 52.69 kB / 0.5707 GB, free: 29.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.457e-05/0.351, allocations: 108.1 kB / 0.5708 GB, free: 29.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.351, allocations: 26.33 kB / 0.5708 GB, free: 29.63 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.405e-05/0.3511, allocations: 92.52 kB / 0.5709 GB, free: 29.54 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.347e-05/0.3511, allocations: 2.031 kB / 0.5709 GB, free: 29.54 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.183e-05/0.3511, allocations: 18.12 kB / 0.5709 GB, free: 29.52 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.841e-05/0.3512, allocations: 318.5 kB / 0.5712 GB, free: 29.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.519e-05/0.3513, allocations: 24.94 kB / 0.5713 GB, free: 29.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.459e-05/0.3514, allocations: 21.78 kB / 0.5713 GB, free: 29.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.3516, allocations: 51.16 kB / 0.5713 GB, free: 29.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3516, allocations: 1 kB / 0.5713 GB, free: 29.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002108/0.3518, allocations: 74.8 kB / 0.5714 GB, free: 29.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.3518, allocations: 5.125 kB / 0.5714 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3518, allocations: 0 / 0.5714 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.3518, allocations: 2.516 kB / 0.5714 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.305e-05/0.3519, allocations: 20.75 kB / 0.5714 GB, free: 29.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.3519, allocations: 1.219 kB / 0.5714 GB, free: 29.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.614e-05/0.352, allocations: 11.09 kB / 0.5714 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.352, allocations: 1.406 kB / 0.5714 GB, free: 29.12 MB / 446.1 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 (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.281e-05/0.3521, allocations: 112.3 kB / 0.5715 GB, free: 29.01 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.3521, allocations: 6.219 kB / 0.5716 GB, free: 29.01 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002509/0.3524, allocations: 95.56 kB / 0.5716 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.3524, allocations: 1.188 kB / 0.5716 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3524, allocations: 1.031 kB / 0.5716 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3524, allocations: 0.9688 kB / 0.5716 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.3525, allocations: 173.9 kB / 0.5718 GB, free: 28.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-06/0.3525, allocations: 0 / 0.5718 GB, free: 28.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.397e-05/0.3526, allocations: 12.08 kB / 0.5718 GB, free: 28.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3526, allocations: 0.6562 kB / 0.5718 GB, free: 28.74 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.3526, allocations: 1.906 kB / 0.5718 GB, free: 28.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.3526, allocations: 0.6562 kB / 0.5718 GB, free: 28.74 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3527, allocations: 1.844 kB / 0.5718 GB, free: 28.74 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/0.3529, allocations: 175.3 kB / 0.572 GB, free: 28.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.268e-05/0.3529, allocations: 79.03 kB / 0.5721 GB, free: 28.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.3529, allocations: 1.797 kB / 0.5721 GB, free: 28.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.489e-05/0.353, allocations: 7.266 kB / 0.5721 GB, free: 28.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.063e-05/0.3531, allocations: 13.95 kB / 0.5721 GB, free: 28.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.169e-06/0.3531, allocations: 1.641 kB / 0.5721 GB, free: 28.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.03e-05/0.3531, allocations: 88.25 kB / 0.5722 GB, free: 28.42 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3531, allocations: 0.5 kB / 0.5722 GB, free: 28.42 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002257/0.3534, allocations: 12.66 kB / 0.5722 GB, free: 28.41 MB / 446.1 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 (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.0004583/0.3538, allocations: 0.7101 MB / 0.5729 GB, free: 27.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002341/0.3541, allocations: 54.52 kB / 0.5729 GB, free: 27.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3541, allocations: 1.594 kB / 0.5729 GB, free: 27.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001/0.3542, allocations: 21.5 kB / 0.573 GB, free: 27.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.3545, allocations: 16.19 kB / 0.573 GB, free: 27.72 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.3556, allocations: 1.278 MB / 0.5742 GB, free: 26.53 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.3557, allocations: 0.6803 MB / 0.5749 GB, free: 25.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.141e-05/0.3558, allocations: 8.984 kB / 0.5749 GB, free: 25.83 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.564e-05/0.3558, allocations: 16.52 kB / 0.5749 GB, free: 25.82 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3558, allocations: 1 kB / 0.5749 GB, free: 25.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01791/0.3737, allocations: 1.657 MB / 0.5765 GB, free: 25.49 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.424/7.798, allocations: 9.172 kB / 0.5765 GB, free: 25.49 MB / 446.1 MB (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 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_FallingFactorial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)