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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 109.5 kB / 19.72 MB, free: 2.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001614/0.001614, allocations: 216.7 kB / 23.04 MB, free: 4.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.445/1.445, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002764/0.002764, allocations: 298.1 kB / 313.5 MB, free: 2.805 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.245/1.245, allocations: 180.6 MB / 0.5377 GB, free: 13.02 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_FallingFactorial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_FallingFactorial",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004663/0.004663, allocations: 93.89 kB / 0.7404 GB, free: 28.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2268, allocations: 95.38 MB / 0.8335 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.FallingFactorial): time 0.00329/0.2301, allocations: 1.57 MB / 0.835 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004654/0.2306, allocations: 144.3 kB / 0.8352 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.616e-05/0.2306, allocations: 0 / 0.8352 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.071e-05/0.2307, allocations: 3.938 kB / 0.8352 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.57e-05/0.2307, allocations: 3.938 kB / 0.8352 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003326/0.231, allocations: 35.91 kB / 0.8352 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.304e-05/0.2311, allocations: 39.91 kB / 0.8353 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.2312, allocations: 11.98 kB / 0.8353 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.07e-05/0.2313, allocations: 15.94 kB / 0.8353 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.266e-05/0.2313, allocations: 19.91 kB / 0.8353 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.2314, allocations: 4 kB / 0.8353 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.2315, allocations: 27.97 kB / 0.8353 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.766e-05/0.2315, allocations: 4 kB / 0.8353 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.482e-05/0.2315, allocations: 19.86 kB / 0.8354 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.2317, allocations: 48.03 kB / 0.8354 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2317, allocations: 0 / 0.8354 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.412e-06/0.2317, allocations: 4 kB / 0.8354 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.2317, allocations: 0 / 0.8354 GB, free: 6.684 MB / 0.5762 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.0005279/0.2322, allocations: 279.3 kB / 0.8357 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.2322, allocations: 9.344 kB / 0.8357 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.665e-05/0.2323, allocations: 1.859 kB / 0.8357 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.779e-05/0.2323, allocations: 38.75 kB / 0.8357 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.997e-05/0.2323, allocations: 0.9375 kB / 0.8357 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.2325, allocations: 114.4 kB / 0.8358 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.2325, allocations: 4.375 kB / 0.8358 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.2325, allocations: 4.375 kB / 0.8358 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002226/0.2327, allocations: 65.97 kB / 0.8359 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.2327, allocations: 0 / 0.8359 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.2327, allocations: 3.938 kB / 0.8359 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.2327, allocations: 4 kB / 0.8359 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001943/0.2329, allocations: 43.95 kB / 0.8359 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004548/0.2334, allocations: 247.9 kB / 0.8362 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003635/0.2338, allocations: 62.47 kB / 0.8362 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.2339, allocations: 24.91 kB / 0.8363 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001307/0.234, allocations: 27.91 kB / 0.8363 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.234, allocations: 34.56 kB / 0.8363 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.234, allocations: 0 / 0.8363 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0004184/0.2344, allocations: 93.59 kB / 0.8364 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.2345, allocations: 51.41 kB / 0.8365 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.2346, allocations: 109.8 kB / 0.8366 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.2346, allocations: 25.7 kB / 0.8366 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.996e-05/0.2346, allocations: 100.1 kB / 0.8367 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.572e-05/0.2347, allocations: 3.953 kB / 0.8367 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.756e-05/0.2347, allocations: 13.72 kB / 0.8367 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.2349, allocations: 322.8 kB / 0.837 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.525e-05/0.2349, allocations: 19.98 kB / 0.837 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.26e-05/0.235, allocations: 20.11 kB / 0.8371 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/0.2352, allocations: 56.89 kB / 0.8371 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2352, allocations: 0 / 0.8371 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002238/0.2354, allocations: 77.61 kB / 0.8372 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.2355, allocations: 4 kB / 0.8372 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.2355, allocations: 7.984 kB / 0.8372 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.2355, allocations: 0 / 0.8372 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.525e-05/0.2356, allocations: 11.94 kB / 0.8372 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/0.2356, allocations: 3.984 kB / 0.8372 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.775e-05/0.2356, allocations: 11.94 kB / 0.8372 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.2356, allocations: 0 / 0.8372 GB, free: 4.629 MB / 0.5762 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,rea2Int.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.464e-05/0.2357, allocations: 118.4 kB / 0.8373 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/0.2358, allocations: 3.984 kB / 0.8373 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002759/0.236, allocations: 81.64 kB / 0.8374 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.236, allocations: 0 / 0.8374 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.236, allocations: 4 kB / 0.8374 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2361, allocations: 0 / 0.8374 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.2362, allocations: 144.6 kB / 0.8376 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2362, allocations: 0 / 0.8376 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.934e-05/0.2363, allocations: 15.92 kB / 0.8376 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.2363, allocations: 0 / 0.8376 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.2363, allocations: 0 / 0.8376 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2363, allocations: 3.938 kB / 0.8376 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/0.2363, allocations: 4 kB / 0.8376 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003005/0.2366, allocations: 179.4 kB / 0.8377 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.838e-06/0.2366, allocations: 0 / 0.8377 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.2367, allocations: 0 / 0.8377 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.446e-05/0.2367, allocations: 7.984 kB / 0.8378 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.491e-05/0.2368, allocations: 8 kB / 0.8378 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.2368, allocations: 0 / 0.8378 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.672e-05/0.2369, allocations: 91.56 kB / 0.8379 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2369, allocations: 4 kB / 0.8379 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002302/0.2371, allocations: 15.95 kB / 0.8379 GB, free: 3.879 MB / 0.5762 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 (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 (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.0006895/0.2378, allocations: 0.7047 MB / 0.8386 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002392/0.238, allocations: 51.94 kB / 0.8386 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.238, allocations: 0 / 0.8386 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.2381, allocations: 31.91 kB / 0.8386 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.2384, allocations: 2.031 kB / 0.8386 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001706/0.2401, allocations: 1.3 MB / 0.8399 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.2405, allocations: 0.6807 MB / 0.8406 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.155e-05/0.2405, allocations: 4 kB / 0.8406 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.957e-05/0.2405, allocations: 15.44 kB / 0.8406 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of SimCode: time 5.81e-07/0.2405, allocations: 0 / 0.8406 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02334/0.2639, allocations: 1.86 MB / 0.8424 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.25, allocations: 4.25 kB / 0.8424 GB, free: 15.25 MB / 0.5919 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_FallingFactorial.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.523995145980734] Failed to read output from testmodel.py, exit status != 0: 11.413476421032101 11.429459241 11.194646148 Calling exit ...