Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.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.Functions.Examples.FallingFactorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_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.001371/0.001372, allocations: 109 kB / 16.41 MB, free: 6.445 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.001453/0.001453, allocations: 193.2 kB / 17.34 MB, free: 5.707 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.358/1.358, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7281/0.7281, allocations: 115.3 MB / 406.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 76.11 kB / 0.5572 GB, free: 32.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1395, allocations: 76.18 MB / 0.6316 GB, free: 4.824 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001895/0.1414, allocations: 0.5727 MB / 0.6322 GB, free: 4.254 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002951/0.1418, allocations: 55.77 kB / 0.6322 GB, free: 4.199 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.074e-05/0.1418, allocations: 0 / 0.6322 GB, free: 4.199 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.1e-05/0.1418, allocations: 3.938 kB / 0.6323 GB, free: 4.195 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.43e-06/0.1419, allocations: 0 / 0.6323 GB, free: 4.195 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002703/0.1422, allocations: 19.98 kB / 0.6323 GB, free: 4.176 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 8.197e-05/0.1423, allocations: 27.98 kB / 0.6323 GB, free: 4.148 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.991e-05/0.1423, allocations: 0 / 0.6323 GB, free: 4.148 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.03e-05/0.1423, allocations: 11.97 kB / 0.6323 GB, free: 4.137 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.938e-05/0.1424, allocations: 15.94 kB / 0.6323 GB, free: 4.121 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.1424, allocations: 0 / 0.6323 GB, free: 4.121 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.897e-05/0.1425, allocations: 19.98 kB / 0.6323 GB, free: 4.102 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.989e-05/0.1425, allocations: 19.97 kB / 0.6324 GB, free: 4.082 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.445e-05/0.1426, allocations: 11.88 kB / 0.6324 GB, free: 4.07 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001163/0.1427, allocations: 31.89 kB / 0.6324 GB, free: 4.039 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1427, allocations: 0 / 0.6324 GB, free: 4.039 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1427, allocations: 0 / 0.6324 GB, free: 4.039 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.1427, allocations: 0 / 0.6324 GB, free: 4.039 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003184/0.143, allocations: 339.6 kB / 0.6327 GB, free: 3.656 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.1431, allocations: 12.03 kB / 0.6327 GB, free: 3.645 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.385e-05/0.1431, allocations: 38.75 kB / 0.6328 GB, free: 3.598 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.03e-05/0.1432, allocations: 8.844 kB / 0.6328 GB, free: 3.59 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.541e-05/0.1433, allocations: 163.5 kB / 0.6329 GB, free: 3.395 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.1433, allocations: 4.312 kB / 0.6329 GB, free: 3.391 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.1433, allocations: 4.375 kB / 0.6329 GB, free: 3.387 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.1434, allocations: 66.22 kB / 0.633 GB, free: 3.316 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.1435, allocations: 7.875 kB / 0.633 GB, free: 3.309 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.1435, allocations: 4 kB / 0.633 GB, free: 3.305 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1435, allocations: 0 / 0.633 GB, free: 3.305 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/0.1436, allocations: 103.9 kB / 0.6331 GB, free: 3.203 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001734/0.1438, allocations: 170.2 kB / 0.6333 GB, free: 2.988 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.1439, allocations: 70.55 kB / 0.6334 GB, free: 2.91 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.486e-05/0.144, allocations: 28.84 kB / 0.6334 GB, free: 2.879 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003786/0.1444, allocations: 409.5 kB / 0.6338 GB, free: 2.387 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.1444, allocations: 34.5 kB / 0.6338 GB, free: 2.344 MB / 478.1 MB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.1444, allocations: 336 / 0.6338 GB, free: 2.344 MB / 478.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002472/0.1447, allocations: 121.4 kB / 0.6339 GB, free: 2.219 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.1447, allocations: 63.41 kB / 0.634 GB, free: 2.145 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.493e-05/0.1448, allocations: 97.84 kB / 0.6341 GB, free: 2.039 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.1448, allocations: 29.7 kB / 0.6341 GB, free: 2.004 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.992e-05/0.1448, allocations: 84.08 kB / 0.6342 GB, free: 1.918 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.352e-05/0.1449, allocations: 19.94 kB / 0.6342 GB, free: 1.898 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.141e-05/0.1449, allocations: 33.7 kB / 0.6342 GB, free: 1.859 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.145, allocations: 314.8 kB / 0.6345 GB, free: 1.543 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.081e-05/0.1451, allocations: 19.98 kB / 0.6346 GB, free: 1.523 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.843e-05/0.1451, allocations: 27.92 kB / 0.6346 GB, free: 1.496 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.988e-05/0.1452, allocations: 60.77 kB / 0.6346 GB, free: 1.434 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1452, allocations: 0 / 0.6346 GB, free: 1.434 MB / 478.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001447/0.1454, allocations: 93.67 kB / 0.6347 GB, free: 1.336 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.1454, allocations: 7.938 kB / 0.6347 GB, free: 1.328 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1454, allocations: 0 / 0.6347 GB, free: 1.328 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.1454, allocations: 3.984 kB / 0.6347 GB, free: 1.324 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.1456, allocations: 16 kB / 0.6348 GB, free: 1.309 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.1456, allocations: 3.938 kB / 0.6348 GB, free: 1.305 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.689e-05/0.1456, allocations: 11.84 kB / 0.6348 GB, free: 1.293 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.1456, allocations: 19.92 kB / 0.6348 GB, free: 1.273 MB / 478.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: 11 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001239/0.1458, allocations: 113.8 kB / 0.6349 GB, free: 1.152 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.591e-05/0.1458, allocations: 7.938 kB / 0.6349 GB, free: 1.145 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002198/0.146, allocations: 113.6 kB / 0.635 GB, free: 1.02 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.146, allocations: 7.984 kB / 0.635 GB, free: 1.012 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.146, allocations: 0 / 0.635 GB, free: 1.012 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.146, allocations: 0 / 0.635 GB, free: 1.012 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.1462, allocations: 177.6 kB / 0.6352 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1462, allocations: 0 / 0.6352 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.349e-05/0.1463, allocations: 23.92 kB / 0.6352 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.1463, allocations: 3.938 kB / 0.6352 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.1463, allocations: 4 kB / 0.6352 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.572e-06/0.1463, allocations: 0 / 0.6352 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.1463, allocations: 3.984 kB / 0.6352 GB, free: 0.7539 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001476/0.1465, allocations: 113.9 kB / 0.6353 GB, free: 0.625 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.517e-05/0.1465, allocations: 96.89 kB / 0.6354 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.1465, allocations: 7.984 kB / 0.6354 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.474e-05/0.1466, allocations: 0 / 0.6354 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.749e-05/0.1466, allocations: 4 kB / 0.6354 GB, free: 0.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.1466, allocations: 15.97 kB / 0.6354 GB, free: 496 kB / 478.1 MB Notification: Performance of sorting global known variables: time 2.963e-05/0.1466, allocations: 79.22 kB / 0.6355 GB, free: 416 kB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1467, allocations: 0 / 0.6355 GB, free: 416 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.0001983/0.1469, allocations: 12 kB / 0.6355 GB, free: 404 kB / 478.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: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0005084/0.1474, allocations: 0.671 MB / 0.6362 GB, free: 15.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001418/0.1475, allocations: 59.91 kB / 0.6362 GB, free: 15.64 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1475, allocations: 3.938 kB / 0.6363 GB, free: 15.63 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.931e-05/0.1476, allocations: 39.91 kB / 0.6363 GB, free: 15.59 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001361/0.1477, allocations: 11.94 kB / 0.6363 GB, free: 15.58 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000395/0.1481, allocations: 186.6 kB / 0.6365 GB, free: 15.36 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/0.1484, allocations: 0.6807 MB / 0.6371 GB, free: 14.65 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.669e-05/0.1485, allocations: 35.95 kB / 0.6372 GB, free: 14.62 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.42e-05/0.1485, allocations: 19.44 kB / 0.6372 GB, free: 14.6 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1485, allocations: 0 / 0.6372 GB, free: 14.6 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01703/0.1655, allocations: 1.575 MB / 0.6387 GB, free: 13.12 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.496/7.662, allocations: 7.812 kB / 0.6387 GB, free: 13.12 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_FallingFactorial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)