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.001611/0.001611, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.00226/0.00226, allocations: 210.3 kB / 20.13 MB, free: 2.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.44/1.44, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.002403/0.002403, allocations: 283.9 kB / 309.8 MB, free: 3.465 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.053/1.053, allocations: 180.6 MB / 0.5338 GB, free: 12.42 MB / 398.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.002872/0.002872, allocations: 107.8 kB / 0.7347 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5102/0.513, allocations: 95.34 MB / 0.8278 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.FallingFactorial): time 0.002599/0.5156, allocations: 1.568 MB / 0.8293 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000364/0.516, allocations: 147.7 kB / 0.8295 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.968e-05/0.5161, allocations: 2.562 kB / 0.8295 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.79e-05/0.5161, allocations: 8.594 kB / 0.8295 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.245e-05/0.5161, allocations: 4.5 kB / 0.8295 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000324/0.5164, allocations: 26.95 kB / 0.8295 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.048e-05/0.5165, allocations: 33.38 kB / 0.8295 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.5166, allocations: 12.69 kB / 0.8295 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.667e-05/0.5167, allocations: 16.3 kB / 0.8296 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.936e-05/0.5167, allocations: 21.75 kB / 0.8296 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.5167, allocations: 2.938 kB / 0.8296 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8e-05/0.5168, allocations: 23.52 kB / 0.8296 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.745e-05/0.5168, allocations: 7.969 kB / 0.8296 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.877e-05/0.5169, allocations: 16.75 kB / 0.8296 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.517, allocations: 53.83 kB / 0.8297 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.517, allocations: 0 / 0.8297 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.174e-06/0.517, allocations: 0.6562 kB / 0.8297 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.517, allocations: 0 / 0.8297 GB, free: 1.762 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.0004624/0.5175, allocations: 352.2 kB / 0.83 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.5175, allocations: 11.84 kB / 0.83 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.224e-05/0.5175, allocations: 192 / 0.83 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.005e-05/0.5176, allocations: 36.97 kB / 0.8301 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.662e-05/0.5176, allocations: 7.812 kB / 0.8301 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.61e-05/0.5177, allocations: 168 kB / 0.8302 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.5177, allocations: 1.219 kB / 0.8302 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.5177, allocations: 3.219 kB / 0.8302 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.5179, allocations: 69.61 kB / 0.8303 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.5179, allocations: 0 / 0.8303 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.5179, allocations: 3.125 kB / 0.8303 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.5179, allocations: 0 / 0.8303 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00019/0.5181, allocations: 46.67 kB / 0.8303 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003292/0.5184, allocations: 280.3 kB / 0.8306 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003312/0.5188, allocations: 61.36 kB / 0.8307 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.5189, allocations: 26.19 kB / 0.8307 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001946/0.5191, allocations: 404.4 kB / 0.8311 GB, free: 284 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.322e-05/0.5191, allocations: 35.78 kB / 0.8311 GB, free: 240 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.5191, allocations: 0 / 0.8311 GB, free: 240 kB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0003954/0.5195, allocations: 94.39 kB / 0.8312 GB, free: 196 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.797e-05/0.5195, allocations: 52.84 kB / 0.8313 GB, free: 132 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.212e-05/0.5195, allocations: 120.5 kB / 0.8314 GB, free: 16 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.692e-05/0.5196, allocations: 25.7 kB / 0.8314 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.129e-05/0.5196, allocations: 80.84 kB / 0.8315 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.5196, allocations: 15.23 kB / 0.8315 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.724e-05/0.5197, allocations: 13.81 kB / 0.8315 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.5198, allocations: 323.9 kB / 0.8318 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.628e-05/0.5199, allocations: 14.97 kB / 0.8318 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.081e-05/0.52, allocations: 25.36 kB / 0.8318 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001831/0.5202, allocations: 46.7 kB / 0.8319 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.5202, allocations: 0 / 0.8319 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000238/0.5205, allocations: 80.11 kB / 0.832 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.5205, allocations: 6.031 kB / 0.832 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.5205, allocations: 3.938 kB / 0.832 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.5205, allocations: 0 / 0.832 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.326e-05/0.5206, allocations: 17.34 kB / 0.832 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.5206, allocations: 0.7969 kB / 0.832 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.699e-05/0.5206, allocations: 4.609 kB / 0.832 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.5206, allocations: 3.375 kB / 0.832 GB, free: 15.48 MB / 0.5919 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.487e-05/0.5207, allocations: 117.5 kB / 0.8321 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.5208, allocations: 0 / 0.8321 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003178/0.5211, allocations: 89.28 kB / 0.8322 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.5211, allocations: 0 / 0.8322 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.5211, allocations: 1.5 kB / 0.8322 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.5211, allocations: 0.75 kB / 0.8322 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000209/0.5213, allocations: 174.1 kB / 0.8324 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.5213, allocations: 0 / 0.8324 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.573e-05/0.5214, allocations: 15.55 kB / 0.8324 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.5214, allocations: 0 / 0.8324 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.5214, allocations: 0.8906 kB / 0.8324 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.5214, allocations: 6.406 kB / 0.8324 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5214, allocations: 4 kB / 0.8324 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002915/0.5217, allocations: 170.5 kB / 0.8326 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.752e-05/0.5217, allocations: 77.72 kB / 0.8326 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.5217, allocations: 4.516 kB / 0.8326 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.69e-05/0.5218, allocations: 6.453 kB / 0.8326 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.24e-05/0.5219, allocations: 4.922 kB / 0.8326 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.229e-06/0.5219, allocations: 7.578 kB / 0.8327 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.037e-05/0.522, allocations: 92.17 kB / 0.8327 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.522, allocations: 0 / 0.8327 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002305/0.5222, allocations: 12.81 kB / 0.8328 GB, free: 14.76 MB / 0.5919 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.0006743/0.5229, allocations: 0.7173 MB / 0.8335 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002568/0.5231, allocations: 45.8 kB / 0.8335 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.5231, allocations: 0 / 0.8335 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.5232, allocations: 34.09 kB / 0.8335 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.5235, allocations: 4.906 kB / 0.8335 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.5252, allocations: 1.283 MB / 0.8348 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003834/0.5256, allocations: 0.681 MB / 0.8355 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.864e-05/0.5256, allocations: 3.188 kB / 0.8355 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.627e-05/0.5257, allocations: 16.17 kB / 0.8355 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of SimCode: time 4.41e-07/0.5257, allocations: 0 / 0.8355 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02241/0.5481, allocations: 1.762 MB / 0.8372 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.257/8.805, allocations: 6.656 kB / 0.8372 GB, free: 11.74 MB / 0.5919 GB " [Timeout remaining time 651] (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: 12.736088990001008] Failed to read output from testmodel.py, exit status != 0: 8.926158884947654 8.941937596 8.421516597 Calling exit ...