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.001516/0.001516, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001513/0.001513, allocations: 218.5 kB / 23.03 MB, free: 4.949 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.002576/0.002576, allocations: 287.7 kB / 313.5 MB, free: 2.641 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.284/1.284, allocations: 180.6 MB / 0.5377 GB, free: 14.45 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.003218/0.003218, allocations: 100.6 kB / 0.7403 GB, free: 28.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2196, allocations: 95.38 MB / 0.8334 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.FallingFactorial): time 0.003559/0.2232, allocations: 1.562 MB / 0.8349 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000427/0.2236, allocations: 128.5 kB / 0.8351 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.599e-05/0.2237, allocations: 0 / 0.8351 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.297e-05/0.2237, allocations: 7.922 kB / 0.8351 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.564e-05/0.2238, allocations: 3.938 kB / 0.8351 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003565/0.2241, allocations: 35.92 kB / 0.8351 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.056e-05/0.2242, allocations: 39.83 kB / 0.8351 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.2243, allocations: 8 kB / 0.8351 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.19e-05/0.2244, allocations: 23.92 kB / 0.8352 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.377e-05/0.2244, allocations: 15.92 kB / 0.8352 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.2244, allocations: 4 kB / 0.8352 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.473e-05/0.2245, allocations: 27.97 kB / 0.8352 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.836e-05/0.2245, allocations: 7.984 kB / 0.8352 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.019e-05/0.2246, allocations: 11.94 kB / 0.8352 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.2247, allocations: 48.09 kB / 0.8353 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.2247, allocations: 3.984 kB / 0.8353 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2247, allocations: 0 / 0.8353 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.2247, allocations: 0 / 0.8353 GB, free: 6.414 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.0005165/0.2253, allocations: 278.2 kB / 0.8355 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.2253, allocations: 9.938 kB / 0.8356 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.156e-05/0.2253, allocations: 5.859 kB / 0.8356 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.499e-05/0.2254, allocations: 38.75 kB / 0.8356 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.321e-05/0.2254, allocations: 4.938 kB / 0.8356 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.2255, allocations: 118.4 kB / 0.8357 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/0.2255, allocations: 4.375 kB / 0.8357 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.2256, allocations: 4.375 kB / 0.8357 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/0.2258, allocations: 61.98 kB / 0.8358 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.2258, allocations: 0 / 0.8358 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.2258, allocations: 4 kB / 0.8358 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.2258, allocations: 0 / 0.8358 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002012/0.226, allocations: 47.95 kB / 0.8358 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004458/0.2265, allocations: 247.8 kB / 0.8361 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003465/0.2268, allocations: 58.55 kB / 0.8361 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.75e-05/0.2269, allocations: 24.83 kB / 0.8362 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001337/0.227, allocations: 23.98 kB / 0.8362 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.2271, allocations: 30.56 kB / 0.8362 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.2271, allocations: 0 / 0.8362 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0004018/0.2275, allocations: 105.5 kB / 0.8363 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.2275, allocations: 51.41 kB / 0.8364 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.478e-05/0.2276, allocations: 113.8 kB / 0.8365 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.2276, allocations: 25.7 kB / 0.8365 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.303e-05/0.2277, allocations: 88.14 kB / 0.8366 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.466e-05/0.2277, allocations: 3.953 kB / 0.8366 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.796e-05/0.2277, allocations: 13.72 kB / 0.8366 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.2279, allocations: 322.8 kB / 0.8369 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.1e-05/0.228, allocations: 23.98 kB / 0.8369 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.117e-05/0.2281, allocations: 19.97 kB / 0.8369 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.2282, allocations: 40.83 kB / 0.837 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2282, allocations: 4 kB / 0.837 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002245/0.2285, allocations: 85.8 kB / 0.8371 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.2285, allocations: 8 kB / 0.8371 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.2285, allocations: 7.984 kB / 0.8371 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.2285, allocations: 0 / 0.8371 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.203e-05/0.2286, allocations: 11.98 kB / 0.8371 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.2286, allocations: 0 / 0.8371 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.975e-05/0.2286, allocations: 7.938 kB / 0.8371 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.2287, allocations: 4 kB / 0.8371 GB, free: 4.359 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.000103/0.2288, allocations: 122.4 kB / 0.8372 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.2288, allocations: 0 / 0.8372 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002704/0.2291, allocations: 89.58 kB / 0.8373 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.2291, allocations: 0 / 0.8373 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.2291, allocations: 0 / 0.8373 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2291, allocations: 0 / 0.8373 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/0.2292, allocations: 140.6 kB / 0.8374 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2292, allocations: 0 / 0.8374 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.554e-05/0.2293, allocations: 11.98 kB / 0.8374 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-06/0.2293, allocations: 4 kB / 0.8375 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.2293, allocations: 0 / 0.8375 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2293, allocations: 0 / 0.8375 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2293, allocations: 4 kB / 0.8375 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003018/0.2296, allocations: 175.4 kB / 0.8376 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.326e-05/0.2297, allocations: 4 kB / 0.8376 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.2297, allocations: 0 / 0.8376 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.884e-05/0.2298, allocations: 11.98 kB / 0.8376 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.665e-05/0.2298, allocations: 7.922 kB / 0.8376 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.2298, allocations: 4 kB / 0.8376 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.265e-05/0.2299, allocations: 83.28 kB / 0.8377 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.1e-08/0.2299, allocations: 0 / 0.8377 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002331/0.2301, allocations: 12 kB / 0.8377 GB, free: 3.621 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.0006677/0.2308, allocations: 0.7124 MB / 0.8384 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000239/0.231, allocations: 47.89 kB / 0.8385 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.231, allocations: 0 / 0.8385 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.2311, allocations: 27.97 kB / 0.8385 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.2314, allocations: 4 kB / 0.8385 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.233, allocations: 1.3 MB / 0.8398 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.086e-05/0.2331, allocations: 67.28 kB / 0.8398 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.432e-05/0.2331, allocations: 8 kB / 0.8399 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.925e-05/0.2331, allocations: 19.42 kB / 0.8399 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of SimCode: time 5.21e-07/0.2331, allocations: 0 / 0.8399 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02209/0.2552, allocations: 1.901 MB / 0.8417 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.42, allocations: 19.73 kB / 0.8417 GB, free: 15.56 MB / 0.5919 GB " [Timeout remaining time 648] (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.817474622046575] Failed to read output from testmodel.py, exit status != 0: 11.579257296980359 11.605228365 11.375755565 Calling exit ...