Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.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.001319/0.001319, allocations: 113.8 kB / 19.73 MB, free: 2.242 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.001457/0.001457, allocations: 219.8 kB / 23.04 MB, free: 5.074 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.5/1.5, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.854/2.854, allocations: 476.7 MB / 0.7714 GB, free: 4.227 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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(Buildings.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_FallingFactorial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_FallingFactorial",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.002088/0.002088, allocations: 65.69 kB / 1.118 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3406, allocations: 170 MB / 1.284 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002867/0.3434, allocations: 1.561 MB / 1.286 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004936/0.3439, allocations: 135.6 kB / 1.286 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.927e-05/0.344, allocations: 4 kB / 1.286 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.307e-05/0.344, allocations: 3.938 kB / 1.286 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.223e-05/0.344, allocations: 3.938 kB / 1.286 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003225/0.3444, allocations: 35.91 kB / 1.286 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.643e-05/0.3445, allocations: 35.91 kB / 1.286 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.3446, allocations: 19.92 kB / 1.286 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.721e-05/0.3446, allocations: 8 kB / 1.286 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.767e-05/0.3447, allocations: 19.92 kB / 1.286 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.3447, allocations: 0 / 1.286 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.3448, allocations: 31.95 kB / 1.286 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.08e-05/0.3448, allocations: 11.94 kB / 1.286 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.147e-05/0.3448, allocations: 15.92 kB / 1.286 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.345, allocations: 43.39 kB / 1.286 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.345, allocations: 0 / 1.286 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.837e-06/0.345, allocations: 4 kB / 1.286 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.345, allocations: 3.938 kB / 1.286 GB, free: 9.809 MB / 0.9825 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.0005446/0.3455, allocations: 279.9 kB / 1.286 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.3456, allocations: 12.03 kB / 1.286 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.393e-05/0.3456, allocations: 8.125 kB / 1.286 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.076e-05/0.3456, allocations: 30.75 kB / 1.286 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.43e-05/0.3457, allocations: 8.891 kB / 1.286 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.3458, allocations: 106.5 kB / 1.286 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.3458, allocations: 4.375 kB / 1.286 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.3458, allocations: 4.312 kB / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002293/0.346, allocations: 69.97 kB / 1.287 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.3461, allocations: 0 / 1.287 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.3461, allocations: 0 / 1.287 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3461, allocations: 4 kB / 1.287 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002025/0.3463, allocations: 47.94 kB / 1.287 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004422/0.3467, allocations: 251.9 kB / 1.287 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003411/0.3471, allocations: 58.47 kB / 1.287 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.3472, allocations: 28.91 kB / 1.287 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001545/0.3473, allocations: 15.98 kB / 1.287 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.3473, allocations: 38.55 kB / 1.287 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.3473, allocations: 0 / 1.287 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0004065/0.3478, allocations: 89.77 kB / 1.287 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.3478, allocations: 55.41 kB / 1.287 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.3479, allocations: 117.8 kB / 1.287 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.3479, allocations: 25.7 kB / 1.287 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.621e-05/0.348, allocations: 84.12 kB / 1.287 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.348, allocations: 15.89 kB / 1.287 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.604e-05/0.3481, allocations: 9.719 kB / 1.287 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.3482, allocations: 322.8 kB / 1.288 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.725e-05/0.3483, allocations: 19.97 kB / 1.288 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.833e-05/0.3484, allocations: 27.91 kB / 1.288 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.3486, allocations: 48.81 kB / 1.288 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3486, allocations: 0 / 1.288 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002373/0.3488, allocations: 77.59 kB / 1.288 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.3488, allocations: 4 kB / 1.288 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.3488, allocations: 4 kB / 1.288 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.3488, allocations: 0 / 1.288 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.588e-05/0.3489, allocations: 11.98 kB / 1.288 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.3489, allocations: 0 / 1.288 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.241e-05/0.349, allocations: 11.98 kB / 1.288 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.349, allocations: 0 / 1.288 GB, free: 7.758 MB / 0.9825 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.386e-05/0.3491, allocations: 117.8 kB / 1.288 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.026e-05/0.3491, allocations: 7.953 kB / 1.288 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002916/0.3494, allocations: 85.58 kB / 1.288 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.3494, allocations: 3.984 kB / 1.288 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3494, allocations: 0 / 1.288 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3494, allocations: 3.938 kB / 1.288 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001979/0.3496, allocations: 144.7 kB / 1.288 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3496, allocations: 0 / 1.288 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.356e-05/0.3497, allocations: 7.984 kB / 1.288 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3497, allocations: 4 kB / 1.288 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.3497, allocations: 4 kB / 1.288 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3497, allocations: 0 / 1.288 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3497, allocations: 0 / 1.288 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002832/0.35, allocations: 175.4 kB / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.771e-05/0.35, allocations: 11.95 kB / 1.288 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.35, allocations: 0 / 1.288 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.793e-05/0.3501, allocations: 8 kB / 1.288 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.995e-05/0.3502, allocations: 7.922 kB / 1.288 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.3502, allocations: 4 kB / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.053e-05/0.3503, allocations: 87.27 kB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3503, allocations: 0 / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002345/0.3505, allocations: 8 kB / 1.288 GB, free: 7.012 MB / 0.9825 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.000727/0.3512, allocations: 0.7144 MB / 1.289 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002603/0.3515, allocations: 55.88 kB / 1.289 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3515, allocations: 3.938 kB / 1.289 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.3516, allocations: 23.97 kB / 1.289 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.3519, allocations: 8 kB / 1.289 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/0.3536, allocations: 1.288 MB / 1.291 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004124/0.354, allocations: 0.6846 MB / 1.291 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.11e-05/0.3541, allocations: 0 / 1.291 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.284e-05/0.3541, allocations: 19.53 kB / 1.291 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of SimCode: time 8.92e-07/0.3541, allocations: 3.938 kB / 1.291 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02214/0.3762, allocations: 1.849 MB / 1.293 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.61, allocations: 0.5 kB / 1.293 GB, free: 2.383 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_FallingFactorial.fmu > Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.503655901993625] Failed to read output from testmodel.py, exit status != 0: 12.369513644021936 11.806747882 11.457119335 Calling exit ...