Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7548/0.7548, allocations: 127.3 MB / 139.8 MB, free: 15.46 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00152/0.00152, allocations: 183.5 kB / 169.7 MB, free: 1.746 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.954/1.954, allocations: 205.1 MB / 404.5 MB, free: 1.59 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009718/0.0009719, allocations: 82.47 kB / 481.8 MB, free: 4.246 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.837e-05/4.852e-05, allocations: 4 kB / 0.5533 GB, free: 54.76 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1715, allocations: 76.75 MB / 0.6282 GB, free: 9.945 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5562/0.7277, allocations: 102.9 MB / 0.7288 GB, free: 10.45 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003157/0.7281, allocations: 70.45 kB / 0.7288 GB, free: 10.41 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003277/0.7313, allocations: 1.057 MB / 0.7298 GB, free: 9.465 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.7314, allocations: 0 / 0.7298 GB, free: 9.465 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.7314, allocations: 4 kB / 0.7299 GB, free: 9.461 MB / 490.7 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.0004497/0.7319, allocations: 349.5 kB / 0.7302 GB, free: 9.082 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.817e-05/0.7319, allocations: 12.03 kB / 0.7302 GB, free: 9.07 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.319e-05/0.732, allocations: 34.55 kB / 0.7302 GB, free: 9.027 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.755e-05/0.732, allocations: 8.641 kB / 0.7302 GB, free: 9.02 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.7322, allocations: 163.1 kB / 0.7304 GB, free: 8.82 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.7322, allocations: 4 kB / 0.7304 GB, free: 8.816 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.7322, allocations: 7.938 kB / 0.7304 GB, free: 8.812 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.7324, allocations: 53.31 kB / 0.7305 GB, free: 8.762 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.7324, allocations: 3.938 kB / 0.7305 GB, free: 8.758 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.7324, allocations: 0 / 0.7305 GB, free: 8.758 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.7324, allocations: 0 / 0.7305 GB, free: 8.758 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.179e-05/0.7325, allocations: 26.25 kB / 0.7305 GB, free: 8.738 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004026/0.7329, allocations: 287.3 kB / 0.7308 GB, free: 8.422 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.7331, allocations: 54.28 kB / 0.7308 GB, free: 8.371 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.508e-05/0.7332, allocations: 12.61 kB / 0.7308 GB, free: 8.359 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003219/0.7335, allocations: 401.6 kB / 0.7312 GB, free: 7.875 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.7336, allocations: 34.52 kB / 0.7312 GB, free: 7.832 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.7336, allocations: 0 / 0.7312 GB, free: 7.832 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001783/0.7337, allocations: 48.44 kB / 0.7313 GB, free: 7.785 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/0.7338, allocations: 63.34 kB / 0.7313 GB, free: 7.711 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.667e-05/0.7339, allocations: 99.88 kB / 0.7314 GB, free: 7.613 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.7339, allocations: 25.7 kB / 0.7315 GB, free: 7.582 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.473e-05/0.7339, allocations: 87.94 kB / 0.7315 GB, free: 7.496 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.354e-05/0.734, allocations: 7.906 kB / 0.7316 GB, free: 7.488 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-06/0.734, allocations: 0 / 0.7316 GB, free: 7.488 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.7341, allocations: 310.8 kB / 0.7319 GB, free: 7.176 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.243e-05/0.7341, allocations: 7.312 kB / 0.7319 GB, free: 7.172 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.075e-05/0.7341, allocations: 15.19 kB / 0.7319 GB, free: 7.16 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.824e-05/0.7342, allocations: 11.23 kB / 0.7319 GB, free: 7.152 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.7342, allocations: 0 / 0.7319 GB, free: 7.152 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.807e-05/0.7343, allocations: 52.91 kB / 0.7319 GB, free: 7.102 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.7343, allocations: 9.094 kB / 0.7319 GB, free: 7.094 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.7343, allocations: 0 / 0.7319 GB, free: 7.094 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.7343, allocations: 3.953 kB / 0.7319 GB, free: 7.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.416e-05/0.7344, allocations: 15.92 kB / 0.732 GB, free: 7.074 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.7345, allocations: 5.344 kB / 0.732 GB, free: 7.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.018e-05/0.7345, allocations: 11.94 kB / 0.732 GB, free: 7.059 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.7345, allocations: 7.984 kB / 0.732 GB, free: 7.051 MB / 490.7 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,falFac.k) * Number of discrete 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.093e-05/0.7346, allocations: 101 kB / 0.7321 GB, free: 6.945 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.308e-05/0.7346, allocations: 0 / 0.7321 GB, free: 6.945 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001425/0.7348, allocations: 60.03 kB / 0.7321 GB, free: 6.891 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.7348, allocations: 7.938 kB / 0.7321 GB, free: 6.883 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.7348, allocations: 4 kB / 0.7322 GB, free: 6.879 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.7348, allocations: 4 kB / 0.7322 GB, free: 6.875 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/0.735, allocations: 164.6 kB / 0.7323 GB, free: 6.672 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.735, allocations: 0 / 0.7323 GB, free: 6.672 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.622e-05/0.7351, allocations: 15.98 kB / 0.7323 GB, free: 6.656 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.7351, allocations: 3.938 kB / 0.7323 GB, free: 6.652 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.7351, allocations: 0 / 0.7323 GB, free: 6.652 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.7351, allocations: 0 / 0.7323 GB, free: 6.652 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.7352, allocations: 8.203 kB / 0.7323 GB, free: 6.645 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001362/0.7353, allocations: 154 kB / 0.7325 GB, free: 6.484 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.575e-05/0.7354, allocations: 81.11 kB / 0.7326 GB, free: 6.387 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.7354, allocations: 3.312 kB / 0.7326 GB, free: 6.387 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.139e-05/0.7355, allocations: 7.984 kB / 0.7326 GB, free: 6.379 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.914e-05/0.7355, allocations: 7.984 kB / 0.7326 GB, free: 6.371 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.7355, allocations: 3.953 kB / 0.7326 GB, free: 6.367 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.51e-05/0.7356, allocations: 90.83 kB / 0.7327 GB, free: 6.281 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.7356, allocations: 0 / 0.7327 GB, free: 6.281 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002315/0.7358, allocations: 30.69 kB / 0.7327 GB, free: 6.254 MB / 490.7 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 (falFac.y,falFac.k) * Number of discrete 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.0005248/0.7364, allocations: 0.6963 MB / 0.7334 GB, free: 5.535 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.932e-05/0.7365, allocations: 22.98 kB / 0.7334 GB, free: 5.52 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.7365, allocations: 0 / 0.7334 GB, free: 5.52 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.293e-05/0.7365, allocations: 15.69 kB / 0.7334 GB, free: 5.508 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001833/0.7367, allocations: 11.17 kB / 0.7334 GB, free: 5.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000368/0.7371, allocations: 106.1 kB / 0.7335 GB, free: 5.367 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.7374, allocations: 0.6809 MB / 0.7342 GB, free: 4.66 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.704e-05/0.7374, allocations: 7.984 kB / 0.7342 GB, free: 4.652 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.095e-05/0.7375, allocations: 14.69 kB / 0.7342 GB, free: 4.641 MB / 490.7 MB Notification: Performance of SimCode: time 3.81e-07/0.7375, allocations: 4 kB / 0.7342 GB, free: 4.637 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01281/0.7503, allocations: 1.384 MB / 0.7356 GB, free: 3.367 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001977/0.7505, allocations: 160.2 kB / 0.7357 GB, free: 3.145 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.523/2.273, allocations: 0 / 0.7357 GB, free: 3.145 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_FallingFactorial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)