Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial") translateModel(BuildingSystems.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009589/0.0009588, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.0009397/0.0009397, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.231/1.231, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001705/0.001705, allocations: 270.8 kB / 291.2 MB, free: 1.898 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7732/0.7732, allocations: 144.6 MB / 487 MB, free: 7.176 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000392/0.0003921, allocations: 14.36 kB / 0.5683 GB, free: 38.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1313, allocations: 83.08 MB / 0.6494 GB, free: 3.559 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.FallingFactorial): time 0.001577/0.1329, allocations: 1.243 MB / 0.6506 GB, free: 2.309 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003109/0.1333, allocations: 121.3 kB / 0.6508 GB, free: 2.191 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.472e-05/0.1333, allocations: 0 / 0.6508 GB, free: 2.191 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.416e-05/0.1334, allocations: 3.938 kB / 0.6508 GB, free: 2.188 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.261e-05/0.1334, allocations: 7.984 kB / 0.6508 GB, free: 2.18 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.1336, allocations: 20.61 kB / 0.6508 GB, free: 2.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.719e-05/0.1337, allocations: 25.16 kB / 0.6508 GB, free: 2.137 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.856e-05/0.1338, allocations: 12.55 kB / 0.6508 GB, free: 2.125 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.592e-05/0.1338, allocations: 7.938 kB / 0.6508 GB, free: 2.117 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.238e-05/0.1339, allocations: 20.78 kB / 0.6508 GB, free: 2.098 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.1339, allocations: 4 kB / 0.6509 GB, free: 2.094 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.533e-05/0.134, allocations: 17.73 kB / 0.6509 GB, free: 2.078 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.356e-06/0.134, allocations: 0 / 0.6509 GB, free: 2.078 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.294e-05/0.134, allocations: 29.64 kB / 0.6509 GB, free: 2.043 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.344e-05/0.1341, allocations: 31.94 kB / 0.6509 GB, free: 2.012 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.1341, allocations: 0 / 0.6509 GB, free: 2.012 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1341, allocations: 0.9688 kB / 0.6509 GB, free: 2.012 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.1341, allocations: 4 kB / 0.6509 GB, free: 2.008 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.0003978/0.1345, allocations: 343 kB / 0.6513 GB, free: 1.629 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.1345, allocations: 12.03 kB / 0.6513 GB, free: 1.617 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.858e-05/0.1346, allocations: 0 / 0.6513 GB, free: 1.617 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.1347, allocations: 174.9 kB / 0.6514 GB, free: 1.406 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/0.1347, allocations: 7.953 kB / 0.6514 GB, free: 1.398 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.1348, allocations: 8 kB / 0.6515 GB, free: 1.391 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.135, allocations: 67.5 kB / 0.6515 GB, free: 1.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.135, allocations: 0 / 0.6515 GB, free: 1.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.135, allocations: 0.625 kB / 0.6515 GB, free: 1.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.135, allocations: 7.938 kB / 0.6515 GB, free: 1.312 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001868/0.1352, allocations: 59.39 kB / 0.6516 GB, free: 1.258 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003683/0.1356, allocations: 277.6 kB / 0.6518 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002892/0.1359, allocations: 64.11 kB / 0.6519 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002341/0.1361, allocations: 402.5 kB / 0.6523 GB, free: 392 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.73e-05/0.1361, allocations: 31.22 kB / 0.6523 GB, free: 352 kB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1362, allocations: 0.7188 kB / 0.6523 GB, free: 352 kB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003721/0.1365, allocations: 112.3 kB / 0.6524 GB, free: 236 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.1366, allocations: 59.95 kB / 0.6525 GB, free: 164 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.768e-05/0.1366, allocations: 102.7 kB / 0.6526 GB, free: 52 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.1367, allocations: 25.7 kB / 0.6526 GB, free: 20 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.836e-05/0.1367, allocations: 93.53 kB / 0.6527 GB, free: 15.93 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.293e-05/0.1367, allocations: 7.844 kB / 0.6527 GB, free: 15.92 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-06/0.1368, allocations: 0 / 0.6527 GB, free: 15.92 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.029e-05/0.1369, allocations: 319.9 kB / 0.653 GB, free: 15.6 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.132e-05/0.137, allocations: 30.47 kB / 0.653 GB, free: 15.57 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.095e-05/0.137, allocations: 23.98 kB / 0.6531 GB, free: 15.55 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.832e-05/0.1371, allocations: 25.27 kB / 0.6531 GB, free: 15.52 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1372, allocations: 0.7188 kB / 0.6531 GB, free: 15.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002181/0.1374, allocations: 87.36 kB / 0.6532 GB, free: 15.43 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.1374, allocations: 8.531 kB / 0.6532 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1374, allocations: 1.062 kB / 0.6532 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.1374, allocations: 0 / 0.6532 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.927e-05/0.1375, allocations: 13.23 kB / 0.6532 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.1375, allocations: 4 kB / 0.6532 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.951e-05/0.1376, allocations: 12.55 kB / 0.6532 GB, free: 15.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-06/0.1376, allocations: 1.75 kB / 0.6532 GB, free: 15.4 MB / 462.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 7.068e-05/0.1377, allocations: 121.7 kB / 0.6533 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.477e-05/0.1377, allocations: 4.328 kB / 0.6533 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002567/0.138, allocations: 96.44 kB / 0.6534 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.138, allocations: 0 / 0.6534 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.138, allocations: 0.7812 kB / 0.6534 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.138, allocations: 0 / 0.6534 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.1382, allocations: 173.7 kB / 0.6536 GB, free: 14.94 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1382, allocations: 5 kB / 0.6536 GB, free: 14.94 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.427e-05/0.1382, allocations: 15.98 kB / 0.6536 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.1383, allocations: 4 kB / 0.6536 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.1383, allocations: 0 / 0.6536 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1383, allocations: 0 / 0.6536 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1383, allocations: 0 / 0.6536 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002489/0.1385, allocations: 191.3 kB / 0.6538 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.11e-05/0.1386, allocations: 81.11 kB / 0.6539 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.1386, allocations: 4 kB / 0.6539 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.451e-05/0.1387, allocations: 7.984 kB / 0.6539 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-05/0.1387, allocations: 7.984 kB / 0.6539 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.1388, allocations: 0 / 0.6539 GB, free: 14.6 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.23e-05/0.1388, allocations: 87.59 kB / 0.654 GB, free: 14.51 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1388, allocations: 4 kB / 0.654 GB, free: 14.51 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002152/0.139, allocations: 8 kB / 0.654 GB, free: 14.5 MB / 462.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.0001252/0.1392, allocations: 107.2 kB / 0.6541 GB, free: 14.39 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002179/0.1394, allocations: 63.83 kB / 0.6541 GB, free: 14.32 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1394, allocations: 4 kB / 0.6542 GB, free: 14.32 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.1395, allocations: 31.97 kB / 0.6542 GB, free: 14.29 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001685/0.1397, allocations: 0 / 0.6542 GB, free: 14.29 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002559/0.1399, allocations: 128.7 kB / 0.6543 GB, free: 14.14 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002031/0.1402, allocations: 0.6848 MB / 0.655 GB, free: 13.43 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 3.137e-05/0.1402, allocations: 8.203 kB / 0.655 GB, free: 13.42 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.452e-05/0.1402, allocations: 11.44 kB / 0.655 GB, free: 13.41 MB / 462.1 MB Notification: Performance of SimCode: time 1.502e-06/0.1402, allocations: 0 / 0.655 GB, free: 13.41 MB / 462.1 MB Notification: Performance of Templates: time 0.00254/0.1428, allocations: 0.6456 MB / 0.6556 GB, free: 12.76 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) Environment - environmentSimulation: