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.7551/0.7551, allocations: 128.7 MB / 143.7 MB, free: 2.328 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001164/0.001164, allocations: 184.2 kB / 173.7 MB, free: 6.145 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.828/1.828, allocations: 205.4 MB / 409 MB, free: 10.51 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.00107/0.00107, allocations: 94.48 kB / 486.5 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003473/0.0003473, allocations: 9.375 kB / 0.5604 GB, free: 97.39 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1503, allocations: 76.77 MB / 0.6354 GB, free: 30.48 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1395/0.2899, allocations: 103 MB / 0.736 GB, free: 7.344 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002777/0.2902, allocations: 75.95 kB / 0.7361 GB, free: 7.27 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.003484/0.2937, allocations: 1.066 MB / 0.7371 GB, free: 6.195 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.855e-06/0.2937, allocations: 0 / 0.7371 GB, free: 6.195 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.015e-05/0.2938, allocations: 4 kB / 0.7371 GB, free: 6.191 MB / 0.5105 GB 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.0005612/0.2943, allocations: 359.3 kB / 0.7374 GB, free: 5.793 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.408e-05/0.2944, allocations: 8.031 kB / 0.7374 GB, free: 5.785 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.728e-05/0.2945, allocations: 34.56 kB / 0.7375 GB, free: 5.742 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.614e-05/0.2945, allocations: 11.89 kB / 0.7375 GB, free: 5.73 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.2947, allocations: 163 kB / 0.7376 GB, free: 5.531 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.23e-05/0.2948, allocations: 4 kB / 0.7376 GB, free: 5.527 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.2948, allocations: 4 kB / 0.7377 GB, free: 5.523 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002334/0.295, allocations: 69.66 kB / 0.7377 GB, free: 5.449 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.2951, allocations: 3.938 kB / 0.7377 GB, free: 5.445 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.2951, allocations: 4 kB / 0.7377 GB, free: 5.441 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.842e-06/0.2951, allocations: 0 / 0.7377 GB, free: 5.441 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002261/0.2953, allocations: 63.89 kB / 0.7378 GB, free: 5.379 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005993/0.2959, allocations: 276.8 kB / 0.7381 GB, free: 5.059 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003675/0.2963, allocations: 62.48 kB / 0.7381 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004175/0.2967, allocations: 405.7 kB / 0.7385 GB, free: 4.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.2968, allocations: 30.56 kB / 0.7385 GB, free: 4.461 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.613e-06/0.2968, allocations: 4 kB / 0.7385 GB, free: 4.457 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0004888/0.2973, allocations: 113.5 kB / 0.7386 GB, free: 4.34 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.2974, allocations: 59.41 kB / 0.7387 GB, free: 4.27 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.75e-05/0.2974, allocations: 100.9 kB / 0.7388 GB, free: 4.164 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.2975, allocations: 25.7 kB / 0.7388 GB, free: 4.133 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.301e-05/0.2975, allocations: 88.12 kB / 0.7389 GB, free: 4.043 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.067e-05/0.2976, allocations: 15.92 kB / 0.7389 GB, free: 4.027 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-06/0.2976, allocations: 0 / 0.7389 GB, free: 4.027 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.2977, allocations: 310.8 kB / 0.7392 GB, free: 3.715 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.88e-05/0.2978, allocations: 27.97 kB / 0.7392 GB, free: 3.688 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.741e-05/0.2979, allocations: 27.98 kB / 0.7393 GB, free: 3.66 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.727e-05/0.298, allocations: 24.27 kB / 0.7393 GB, free: 3.637 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.298, allocations: 0 / 0.7393 GB, free: 3.637 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002441/0.2983, allocations: 89.62 kB / 0.7394 GB, free: 3.543 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.2983, allocations: 7.938 kB / 0.7394 GB, free: 3.535 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.2983, allocations: 0 / 0.7394 GB, free: 3.535 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.2984, allocations: 3.953 kB / 0.7394 GB, free: 3.531 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.605e-05/0.2985, allocations: 19.98 kB / 0.7394 GB, free: 3.512 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.2985, allocations: 0 / 0.7394 GB, free: 3.512 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.457e-05/0.2986, allocations: 22.02 kB / 0.7394 GB, free: 3.492 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.2986, allocations: 0 / 0.7394 GB, free: 3.492 MB / 0.5105 GB 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 () * 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 0.0001004/0.2987, allocations: 113.8 kB / 0.7395 GB, free: 3.371 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.2987, allocations: 0 / 0.7395 GB, free: 3.371 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002941/0.299, allocations: 93.55 kB / 0.7396 GB, free: 3.27 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.299, allocations: 0 / 0.7396 GB, free: 3.27 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.299, allocations: 7.953 kB / 0.7396 GB, free: 3.262 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.299, allocations: 0 / 0.7396 GB, free: 3.262 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001936/0.2992, allocations: 169.6 kB / 0.7398 GB, free: 3.047 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2993, allocations: 0 / 0.7398 GB, free: 3.047 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.336e-05/0.2993, allocations: 15.98 kB / 0.7398 GB, free: 3.031 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.2994, allocations: 0 / 0.7398 GB, free: 3.031 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.2994, allocations: 0 / 0.7398 GB, free: 3.031 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.2994, allocations: 0 / 0.7398 GB, free: 3.031 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.2994, allocations: 7.938 kB / 0.7398 GB, free: 3.023 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002937/0.2997, allocations: 195.3 kB / 0.74 GB, free: 2.816 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.153e-05/0.2997, allocations: 77.11 kB / 0.7401 GB, free: 2.723 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.2998, allocations: 0 / 0.7401 GB, free: 2.723 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.381e-05/0.2999, allocations: 15.98 kB / 0.7401 GB, free: 2.707 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.453e-05/0.2999, allocations: 11.98 kB / 0.7401 GB, free: 2.695 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.2999, allocations: 0 / 0.7401 GB, free: 2.695 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.657e-05/0.3, allocations: 87.23 kB / 0.7402 GB, free: 2.609 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2e-07/0.3, allocations: 0 / 0.7402 GB, free: 2.609 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002352/0.3003, allocations: 19.98 kB / 0.7402 GB, free: 2.59 MB / 0.5105 GB 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 () * 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.0006792/0.3009, allocations: 0.7317 MB / 0.7409 GB, free: 1.832 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002338/0.3012, allocations: 55.95 kB / 0.741 GB, free: 1.777 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3012, allocations: 0 / 0.741 GB, free: 1.777 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.3013, allocations: 27.98 kB / 0.741 GB, free: 1.75 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.3015, allocations: 11.98 kB / 0.741 GB, free: 1.738 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009607/0.3025, allocations: 468.3 kB / 0.7415 GB, free: 1.23 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.3028, allocations: 0.6809 MB / 0.7421 GB, free: 0.5234 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.902e-05/0.3028, allocations: 8 kB / 0.7421 GB, free: 0.5156 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.6e-05/0.3029, allocations: 19.36 kB / 0.7421 GB, free: 0.4961 MB / 0.5105 GB Notification: Performance of SimCode: time 2.2e-07/0.3029, allocations: 0 / 0.7421 GB, free: 0.4961 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2921/0.595, allocations: 1.391 MB / 0.7435 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000157/0.5952, allocations: 179 kB / 0.7437 GB, free: 109 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.453/2.049, allocations: 2.531 kB / 0.7437 GB, free: 109 MB / 0.5105 GB (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)