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.0006781/0.0006779, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007686/0.0007687, allocations: 171.4 kB / 16.58 MB, free: 6.852 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.169/1.169, allocations: 223.3 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6179/0.6179, allocations: 113.7 MB / 405.4 MB, free: 4.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003062/0.0003062, allocations: 8 kB / 493.1 MB, free: 8.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1246, allocations: 77.12 MB / 0.5569 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.001456/0.1261, allocations: 1.233 MB / 0.5581 GB, free: 10.45 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003028/0.1264, allocations: 120.5 kB / 0.5582 GB, free: 10.32 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.811e-05/0.1265, allocations: 0 / 0.5582 GB, free: 10.32 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.578e-05/0.1265, allocations: 3.938 kB / 0.5582 GB, free: 10.32 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.442e-05/0.1265, allocations: 0 / 0.5582 GB, free: 10.32 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002009/0.1267, allocations: 31.95 kB / 0.5583 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.74e-05/0.1268, allocations: 35.86 kB / 0.5583 GB, free: 10.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.741e-05/0.1269, allocations: 8 kB / 0.5583 GB, free: 10.25 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.366e-05/0.1269, allocations: 11.98 kB / 0.5583 GB, free: 10.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.625e-05/0.1269, allocations: 19.91 kB / 0.5583 GB, free: 10.21 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.127, allocations: 0 / 0.5583 GB, free: 10.21 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.437e-05/0.127, allocations: 15.98 kB / 0.5583 GB, free: 10.2 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.053e-05/0.127, allocations: 4 kB / 0.5583 GB, free: 10.2 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.164e-05/0.1271, allocations: 33.64 kB / 0.5584 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.343e-05/0.1271, allocations: 23.95 kB / 0.5584 GB, free: 10.13 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1272, allocations: 0 / 0.5584 GB, free: 10.13 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1272, allocations: 0 / 0.5584 GB, free: 10.13 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.396e-06/0.1272, allocations: 4 kB / 0.5584 GB, free: 10.13 MB / 430.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.0003668/0.1275, allocations: 359.5 kB / 0.5587 GB, free: 9.73 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.993e-05/0.1276, allocations: 8.031 kB / 0.5588 GB, free: 9.723 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.92e-05/0.1276, allocations: 34.56 kB / 0.5588 GB, free: 9.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.891e-05/0.1276, allocations: 0 / 0.5588 GB, free: 9.68 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.632e-05/0.1277, allocations: 167.1 kB / 0.5589 GB, free: 9.477 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.1278, allocations: 3.938 kB / 0.559 GB, free: 9.473 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.1278, allocations: 12 kB / 0.559 GB, free: 9.461 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.128, allocations: 73.55 kB / 0.559 GB, free: 9.383 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.128, allocations: 0 / 0.559 GB, free: 9.383 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.862e-06/0.128, allocations: 0 / 0.559 GB, free: 9.383 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.128, allocations: 0 / 0.559 GB, free: 9.383 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001678/0.1282, allocations: 59.95 kB / 0.5591 GB, free: 9.324 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003101/0.1285, allocations: 280.7 kB / 0.5594 GB, free: 9 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002712/0.1288, allocations: 70.55 kB / 0.5594 GB, free: 8.922 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.707e-05/0.1289, allocations: 32.83 kB / 0.5595 GB, free: 8.887 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002291/0.1291, allocations: 397.5 kB / 0.5598 GB, free: 8.406 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.6e-05/0.1291, allocations: 30.56 kB / 0.5599 GB, free: 8.367 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1291, allocations: 0 / 0.5599 GB, free: 8.367 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003335/0.1295, allocations: 121.5 kB / 0.56 GB, free: 8.242 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.323e-05/0.1295, allocations: 51.41 kB / 0.56 GB, free: 8.18 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.281e-05/0.1296, allocations: 105.8 kB / 0.5601 GB, free: 8.066 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.1296, allocations: 29.7 kB / 0.5602 GB, free: 8.031 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.253e-05/0.1296, allocations: 88.14 kB / 0.5602 GB, free: 7.941 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.146e-05/0.1297, allocations: 3.906 kB / 0.5602 GB, free: 7.938 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-06/0.1297, allocations: 0 / 0.5602 GB, free: 7.938 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.08e-05/0.1298, allocations: 318.8 kB / 0.5606 GB, free: 7.617 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.783e-05/0.1298, allocations: 19.98 kB / 0.5606 GB, free: 7.598 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.182e-05/0.1299, allocations: 31.97 kB / 0.5606 GB, free: 7.566 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.293e-05/0.13, allocations: 23.98 kB / 0.5606 GB, free: 7.543 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.13, allocations: 3.953 kB / 0.5606 GB, free: 7.539 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001891/0.1302, allocations: 85.98 kB / 0.5607 GB, free: 7.449 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.1302, allocations: 8 kB / 0.5607 GB, free: 7.441 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.1303, allocations: 7.984 kB / 0.5607 GB, free: 7.434 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.466e-06/0.1303, allocations: 7.875 kB / 0.5607 GB, free: 7.426 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.929e-05/0.1303, allocations: 11.98 kB / 0.5607 GB, free: 7.414 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.1304, allocations: 4 kB / 0.5607 GB, free: 7.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.289e-05/0.1304, allocations: 11.98 kB / 0.5608 GB, free: 7.398 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.1304, allocations: 4 kB / 0.5608 GB, free: 7.395 MB / 430.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 (rea2Int.y,falFac.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.854e-05/0.1305, allocations: 110.5 kB / 0.5609 GB, free: 7.277 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.587e-05/0.1305, allocations: 11.86 kB / 0.5609 GB, free: 7.266 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002233/0.1308, allocations: 93.55 kB / 0.561 GB, free: 7.164 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1308, allocations: 0 / 0.561 GB, free: 7.164 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.1308, allocations: 3.984 kB / 0.561 GB, free: 7.16 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1308, allocations: 0 / 0.561 GB, free: 7.16 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.1309, allocations: 169.7 kB / 0.5611 GB, free: 6.945 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.1309, allocations: 0 / 0.5611 GB, free: 6.945 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.83e-05/0.131, allocations: 19.88 kB / 0.5612 GB, free: 6.926 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.131, allocations: 7.938 kB / 0.5612 GB, free: 6.918 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.131, allocations: 4 kB / 0.5612 GB, free: 6.914 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.131, allocations: 0 / 0.5612 GB, free: 6.914 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1311, allocations: 0 / 0.5612 GB, free: 6.914 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002212/0.1313, allocations: 171.5 kB / 0.5613 GB, free: 6.73 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.175e-05/0.1313, allocations: 93 kB / 0.5614 GB, free: 6.621 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.1313, allocations: 7.953 kB / 0.5614 GB, free: 6.613 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.008e-05/0.1314, allocations: 4 kB / 0.5614 GB, free: 6.609 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/0.1315, allocations: 7.984 kB / 0.5614 GB, free: 6.602 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.1315, allocations: 0 / 0.5614 GB, free: 6.602 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.543e-05/0.1315, allocations: 91.27 kB / 0.5615 GB, free: 6.512 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1315, allocations: 0 / 0.5615 GB, free: 6.512 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002057/0.1317, allocations: 8 kB / 0.5615 GB, free: 6.504 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004817/0.1322, allocations: 0.7247 MB / 0.5622 GB, free: 5.754 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001889/0.1324, allocations: 59.95 kB / 0.5623 GB, free: 5.695 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.1324, allocations: 0 / 0.5623 GB, free: 5.695 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.946e-05/0.1325, allocations: 35.91 kB / 0.5623 GB, free: 5.66 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.1328, allocations: 7.953 kB / 0.5623 GB, free: 5.652 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007114/0.1335, allocations: 458.3 kB / 0.5628 GB, free: 5.16 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002035/0.1337, allocations: 0.6809 MB / 0.5634 GB, free: 4.453 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.244e-05/0.1337, allocations: 8.328 kB / 0.5634 GB, free: 4.445 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.055e-05/0.1338, allocations: 11.44 kB / 0.5635 GB, free: 4.434 MB / 430.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1338, allocations: 0 / 0.5635 GB, free: 4.434 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009571/0.1434, allocations: 1.386 MB / 0.5648 GB, free: 3.176 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001835/0.1436, allocations: 193.9 kB / 0.565 GB, free: 2.93 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.425/1.568, allocations: 0 / 0.565 GB, free: 2.93 MB / 430.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/linux/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) Environment - environmentSimulation: