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.001331/0.001331, allocations: 110.3 kB / 18.94 MB, free: 2.789 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.001494/0.001494, allocations: 215.8 kB / 22.25 MB, free: 5.215 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.463/1.463, allocations: 230.6 MB / 256 MB, free: 8.008 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.003537/0.003537, allocations: 284.9 kB / 312.7 MB, free: 2.816 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.256/1.256, allocations: 180.6 MB / 0.5369 GB, free: 13.03 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_FallingFactorial",fmuType="me",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.002814/0.002814, allocations: 111.3 kB / 0.7396 GB, free: 28.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2141, allocations: 95.38 MB / 0.8327 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.FallingFactorial): time 0.003469/0.2175, allocations: 1.566 MB / 0.8343 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004778/0.218, allocations: 140.4 kB / 0.8344 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.502e-05/0.2181, allocations: 3.938 kB / 0.8344 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.858e-05/0.2181, allocations: 3.938 kB / 0.8344 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.451e-05/0.2182, allocations: 4 kB / 0.8344 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000352/0.2185, allocations: 39.89 kB / 0.8344 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000101/0.2186, allocations: 31.92 kB / 0.8345 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.2187, allocations: 19.98 kB / 0.8345 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.304e-05/0.2188, allocations: 15.92 kB / 0.8345 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.287e-05/0.2188, allocations: 15.92 kB / 0.8345 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.2188, allocations: 4 kB / 0.8345 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.2189, allocations: 23.97 kB / 0.8346 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.685e-05/0.219, allocations: 4 kB / 0.8346 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.465e-05/0.219, allocations: 23.86 kB / 0.8346 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001696/0.2192, allocations: 44.09 kB / 0.8346 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2192, allocations: 0 / 0.8346 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2192, allocations: 4 kB / 0.8346 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.2192, allocations: 0 / 0.8346 GB, free: 6.695 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.000592/0.2198, allocations: 279.2 kB / 0.8349 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.2198, allocations: 9.344 kB / 0.8349 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.961e-05/0.2199, allocations: 42.67 kB / 0.8349 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.2199, allocations: 0.9375 kB / 0.8349 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.2201, allocations: 118.4 kB / 0.8351 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/0.2201, allocations: 384 / 0.8351 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.2201, allocations: 8.375 kB / 0.8351 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002322/0.2203, allocations: 67.88 kB / 0.8351 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.2204, allocations: 3.938 kB / 0.8351 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.2204, allocations: 0 / 0.8351 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.2204, allocations: 4 kB / 0.8351 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002124/0.2206, allocations: 51.88 kB / 0.8352 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004847/0.2211, allocations: 243.9 kB / 0.8354 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000368/0.2214, allocations: 58.53 kB / 0.8355 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.2216, allocations: 24.91 kB / 0.8355 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001647/0.2217, allocations: 19.92 kB / 0.8355 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.2217, allocations: 34.56 kB / 0.8356 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/0.2217, allocations: 7.938 kB / 0.8356 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0004148/0.2222, allocations: 97.58 kB / 0.8357 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.2222, allocations: 51.41 kB / 0.8357 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.575e-05/0.2223, allocations: 109.8 kB / 0.8358 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.2223, allocations: 25.7 kB / 0.8358 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.04e-05/0.2224, allocations: 84.14 kB / 0.8359 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.2224, allocations: 11.95 kB / 0.8359 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.573e-05/0.2225, allocations: 17.7 kB / 0.8359 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.2226, allocations: 318.8 kB / 0.8362 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.768e-05/0.2227, allocations: 19.97 kB / 0.8363 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.032e-05/0.2228, allocations: 23.92 kB / 0.8363 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.223, allocations: 48.81 kB / 0.8363 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.223, allocations: 4 kB / 0.8363 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002248/0.2232, allocations: 77.94 kB / 0.8364 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.2232, allocations: 6.188 kB / 0.8364 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.2232, allocations: 4 kB / 0.8364 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.2232, allocations: 0 / 0.8364 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.247e-05/0.2233, allocations: 11.98 kB / 0.8364 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.2233, allocations: 0 / 0.8364 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.295e-05/0.2234, allocations: 11.92 kB / 0.8364 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.2234, allocations: 4 kB / 0.8364 GB, free: 4.641 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 0.0001086/0.2235, allocations: 126.4 kB / 0.8366 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.2235, allocations: 0 / 0.8366 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002737/0.2238, allocations: 81.64 kB / 0.8366 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.2238, allocations: 0 / 0.8366 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.2238, allocations: 0 / 0.8366 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.2238, allocations: 0 / 0.8366 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.224, allocations: 156.5 kB / 0.8368 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.224, allocations: 0 / 0.8368 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.569e-05/0.2241, allocations: 8 kB / 0.8368 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.2241, allocations: 3.984 kB / 0.8368 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.2241, allocations: 0 / 0.8368 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.2241, allocations: 0 / 0.8368 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.2241, allocations: 4 kB / 0.8368 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002781/0.2244, allocations: 179.3 kB / 0.837 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.588e-06/0.2244, allocations: 0 / 0.837 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.2244, allocations: 7.984 kB / 0.837 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.254e-05/0.2245, allocations: 4 kB / 0.837 GB, free: 4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.475e-05/0.2245, allocations: 7.984 kB / 0.837 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.2245, allocations: 0 / 0.837 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.132e-05/0.2246, allocations: 95.33 kB / 0.8371 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2246, allocations: 0 / 0.8371 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002308/0.2248, allocations: 11.95 kB / 0.8371 GB, free: 3.887 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.0006577/0.2255, allocations: 0.7124 MB / 0.8378 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00024/0.2257, allocations: 47.95 kB / 0.8378 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2257, allocations: 0 / 0.8378 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.906e-05/0.2258, allocations: 27.97 kB / 0.8379 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.2261, allocations: 0 / 0.8379 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.2278, allocations: 1.293 MB / 0.8391 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.2282, allocations: 0.6846 MB / 0.8398 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.567e-05/0.2282, allocations: 3.984 kB / 0.8398 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.158e-05/0.2283, allocations: 19.47 kB / 0.8398 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of SimCode: time 4.81e-07/0.2283, allocations: 96 / 0.8398 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02965/0.2579, allocations: 1.828 MB / 0.8416 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/10.99, allocations: 9.234 kB / 0.8416 GB, free: 15.27 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 sys.exit(0), Time elapsed: 15.26005552499555] Failed to read output from testmodel.py, exit status != 0: 11.09677477600053 11.113894367 10.891268441 Calling exit ...