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.001168/0.001168, allocations: 105.5 kB / 15.98 MB, free: 6.352 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.001403/0.001403, allocations: 191 kB / 16.91 MB, free: 6.195 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.469/1.469, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.757/0.757, allocations: 115.3 MB / 406.1 MB, free: 6.355 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 67.89 kB / 493.2 MB, free: 0.5938 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5026/0.5041, allocations: 76.17 MB / 0.556 GB, free: 36.28 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.002709/0.5069, allocations: 1.588 MB / 0.5576 GB, free: 35.2 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003001/0.5072, allocations: 133.1 kB / 0.5577 GB, free: 35.11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.13e-05/0.5072, allocations: 4.5 kB / 0.5577 GB, free: 35.11 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.166e-05/0.5073, allocations: 0 / 0.5577 GB, free: 35.11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.521e-05/0.5073, allocations: 7.922 kB / 0.5577 GB, free: 35.1 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002706/0.5076, allocations: 27.19 kB / 0.5577 GB, free: 35.09 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.304e-05/0.5077, allocations: 37.75 kB / 0.5578 GB, free: 35.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.483e-05/0.5078, allocations: 14.36 kB / 0.5578 GB, free: 35.06 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.29e-05/0.5078, allocations: 18.06 kB / 0.5578 GB, free: 35.05 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.189e-05/0.5079, allocations: 17.5 kB / 0.5578 GB, free: 35.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.5079, allocations: 3.938 kB / 0.5578 GB, free: 35.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.612e-05/0.508, allocations: 15.78 kB / 0.5578 GB, free: 35.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.675e-05/0.508, allocations: 12.23 kB / 0.5578 GB, free: 35.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.356e-05/0.508, allocations: 17.67 kB / 0.5579 GB, free: 35.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001068/0.5081, allocations: 39.36 kB / 0.5579 GB, free: 35.01 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.5081, allocations: 2.094 kB / 0.5579 GB, free: 35.01 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.5082, allocations: 0 / 0.5579 GB, free: 35.01 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.5082, allocations: 1.906 kB / 0.5579 GB, free: 35.01 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.0003831/0.5086, allocations: 359 kB / 0.5582 GB, free: 34.64 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.5086, allocations: 10.12 kB / 0.5583 GB, free: 34.64 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.607e-05/0.5086, allocations: 31.69 kB / 0.5583 GB, free: 34.6 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.481e-05/0.5087, allocations: 3.469 kB / 0.5583 GB, free: 34.6 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.324e-05/0.5088, allocations: 173.8 kB / 0.5585 GB, free: 34.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.5088, allocations: 10.34 kB / 0.5585 GB, free: 34.39 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.5088, allocations: 7.312 kB / 0.5585 GB, free: 34.38 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002085/0.509, allocations: 64.12 kB / 0.5585 GB, free: 34.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.509, allocations: 5.312 kB / 0.5585 GB, free: 34.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.509, allocations: 1.375 kB / 0.5585 GB, free: 34.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.5091, allocations: 1.375 kB / 0.5585 GB, free: 34.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001889/0.5092, allocations: 47.11 kB / 0.5586 GB, free: 34.33 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003132/0.5096, allocations: 283.9 kB / 0.5589 GB, free: 34.04 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003129/0.5099, allocations: 57.72 kB / 0.5589 GB, free: 34.01 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.486e-05/0.51, allocations: 28.08 kB / 0.5589 GB, free: 34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001867/0.5102, allocations: 397.3 kB / 0.5593 GB, free: 33.53 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.666e-05/0.5102, allocations: 35.92 kB / 0.5593 GB, free: 33.49 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.5102, allocations: 0 / 0.5593 GB, free: 33.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003573/0.5106, allocations: 101.6 kB / 0.5594 GB, free: 33.44 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.092e-05/0.5106, allocations: 52.84 kB / 0.5595 GB, free: 33.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.887e-05/0.5107, allocations: 107.3 kB / 0.5596 GB, free: 33.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.125e-06/0.5107, allocations: 27.14 kB / 0.5596 GB, free: 33.24 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.641e-05/0.5107, allocations: 87.44 kB / 0.5597 GB, free: 33.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.313e-05/0.5107, allocations: 6.312 kB / 0.5597 GB, free: 33.15 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.064e-05/0.5108, allocations: 18.05 kB / 0.5597 GB, free: 33.13 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.349e-05/0.5108, allocations: 318 kB / 0.56 GB, free: 32.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.645e-05/0.5109, allocations: 23.44 kB / 0.5601 GB, free: 32.81 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.655e-05/0.511, allocations: 19.94 kB / 0.5601 GB, free: 32.81 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.5112, allocations: 44 kB / 0.5601 GB, free: 32.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5112, allocations: 0 / 0.5601 GB, free: 32.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001907/0.5114, allocations: 83.81 kB / 0.5602 GB, free: 32.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.5114, allocations: 4.656 kB / 0.5602 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.5114, allocations: 4.031 kB / 0.5602 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.5114, allocations: 3.938 kB / 0.5602 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.728e-05/0.5115, allocations: 12.36 kB / 0.5602 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.5115, allocations: 0 / 0.5602 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.674e-05/0.5116, allocations: 12.61 kB / 0.5602 GB, free: 32.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.5116, allocations: 1.406 kB / 0.5602 GB, free: 32.74 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 4.971e-05/0.5116, allocations: 121.1 kB / 0.5604 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.5117, allocations: 2.531 kB / 0.5604 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002324/0.5119, allocations: 88.44 kB / 0.5604 GB, free: 32.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.5119, allocations: 1.062 kB / 0.5604 GB, free: 32.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.5119, allocations: 0.6875 kB / 0.5604 GB, free: 32.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.5119, allocations: 2.344 kB / 0.5604 GB, free: 32.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.5121, allocations: 165.6 kB / 0.5606 GB, free: 32.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.5121, allocations: 5.438 kB / 0.5606 GB, free: 32.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.507e-05/0.5121, allocations: 11.91 kB / 0.5606 GB, free: 32.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.5122, allocations: 6.109 kB / 0.5606 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.5122, allocations: 0 / 0.5606 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.5122, allocations: 0.6562 kB / 0.5606 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.5122, allocations: 1.156 kB / 0.5606 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002314/0.5124, allocations: 180.7 kB / 0.5608 GB, free: 32.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.773e-05/0.5125, allocations: 79.62 kB / 0.5609 GB, free: 32.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.5125, allocations: 3.938 kB / 0.5609 GB, free: 32.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.319e-05/0.5126, allocations: 6.359 kB / 0.5609 GB, free: 32.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.234e-05/0.5126, allocations: 10.16 kB / 0.5609 GB, free: 32.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.5126, allocations: 2.781 kB / 0.5609 GB, free: 32.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.454e-05/0.5127, allocations: 87.36 kB / 0.561 GB, free: 32.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5127, allocations: 1.344 kB / 0.561 GB, free: 32.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002548/0.5129, allocations: 8.688 kB / 0.561 GB, free: 32.04 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.0004624/0.5134, allocations: 0.7141 MB / 0.5617 GB, free: 31.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002184/0.5136, allocations: 50.86 kB / 0.5617 GB, free: 31.35 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5137, allocations: 1.906 kB / 0.5617 GB, free: 31.35 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.86e-05/0.5138, allocations: 24.5 kB / 0.5618 GB, free: 31.35 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.5141, allocations: 10.48 kB / 0.5618 GB, free: 31.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.5153, allocations: 1.281 MB / 0.563 GB, free: 30.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/0.5154, allocations: 0.6879 MB / 0.5637 GB, free: 29.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.396e-05/0.5155, allocations: 3.844 kB / 0.5637 GB, free: 29.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.209e-05/0.5155, allocations: 18.11 kB / 0.5637 GB, free: 29.44 MB / 446.1 MB Notification: Performance of SimCode: time 1.91e-07/0.5155, allocations: 0 / 0.5637 GB, free: 29.44 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02466/0.5402, allocations: 1.51 MB / 0.5652 GB, free: 29.23 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002416/0.5405, allocations: 199.7 kB / 0.5654 GB, free: 28.98 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.87/2.411, allocations: 4.594 kB / 0.5654 GB, free: 28.97 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)