Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.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.0008533/0.0008533, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001041/0.001041, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9155/0.9155, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.5503/0.5503, allocations: 110.2 MB / 369.4 MB, free: 12.6 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Factorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Factorial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.5473 GB, free: 9.824 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.504e-05/2.656e-05, allocations: 2.281 kB / 0.5473 GB, free: 9.82 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial): time 0.002356/0.002382, allocations: 1.536 MB / 0.5488 GB, free: 8.273 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0003245/0.002707, allocations: 124.5 kB / 0.5489 GB, free: 8.148 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.497e-05/0.002742, allocations: 0 / 0.5489 GB, free: 8.148 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.559e-05/0.002768, allocations: 0 / 0.5489 GB, free: 8.148 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.037e-05/0.002808, allocations: 3.938 kB / 0.5489 GB, free: 8.145 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002508/0.003059, allocations: 19.92 kB / 0.5489 GB, free: 8.125 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 6.906e-05/0.003128, allocations: 35.91 kB / 0.549 GB, free: 8.09 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 9.687e-05/0.003225, allocations: 11.92 kB / 0.549 GB, free: 8.078 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 5.135e-05/0.003276, allocations: 19.98 kB / 0.549 GB, free: 8.059 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.419e-05/0.00332, allocations: 7.984 kB / 0.549 GB, free: 8.051 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.003335, allocations: 4 kB / 0.549 GB, free: 8.047 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 5.853e-05/0.003394, allocations: 12 kB / 0.549 GB, free: 8.035 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.494e-05/0.003409, allocations: 11.97 kB / 0.549 GB, free: 8.023 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.889e-05/0.003427, allocations: 11.94 kB / 0.549 GB, free: 8.012 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.000119/0.003547, allocations: 39.81 kB / 0.5491 GB, free: 7.973 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.003549, allocations: 0 / 0.5491 GB, free: 7.973 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.293e-06/0.00355, allocations: 0 / 0.5491 GB, free: 7.973 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.003555, allocations: 0 / 0.5491 GB, free: 7.973 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000397/0.003952, allocations: 270.3 kB / 0.5493 GB, free: 7.676 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.003993, allocations: 12.62 kB / 0.5493 GB, free: 7.664 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.861e-05/0.004022, allocations: 30.75 kB / 0.5494 GB, free: 7.625 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.35e-05/0.004045, allocations: 4.891 kB / 0.5494 GB, free: 7.621 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.731e-05/0.004123, allocations: 113.7 kB / 0.5495 GB, free: 7.484 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.004143, allocations: 4.359 kB / 0.5495 GB, free: 7.48 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.327e-06/0.004153, allocations: 8.375 kB / 0.5495 GB, free: 7.473 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.004288, allocations: 62.17 kB / 0.5495 GB, free: 7.406 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.004295, allocations: 192 / 0.5495 GB, free: 7.406 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.395e-06/0.004303, allocations: 384 / 0.5495 GB, free: 7.406 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.004309, allocations: 8.125 kB / 0.5496 GB, free: 7.398 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.004409, allocations: 43.89 kB / 0.5496 GB, free: 7.355 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003193/0.004729, allocations: 228.1 kB / 0.5498 GB, free: 7.09 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002284/0.004957, allocations: 50.61 kB / 0.5499 GB, free: 7.031 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.152e-05/0.005008, allocations: 28.77 kB / 0.5499 GB, free: 7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001047/0.005113, allocations: 11.94 kB / 0.5499 GB, free: 6.988 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.005137, allocations: 42.5 kB / 0.5499 GB, free: 6.938 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.974e-06/0.005139, allocations: 0 / 0.5499 GB, free: 6.938 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0002789/0.005418, allocations: 93.58 kB / 0.55 GB, free: 6.84 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.005462, allocations: 51.41 kB / 0.5501 GB, free: 6.777 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.005625, allocations: 101.8 kB / 0.5502 GB, free: 6.668 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.005636, allocations: 25.7 kB / 0.5502 GB, free: 6.637 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.621e-05/0.005682, allocations: 88.14 kB / 0.5503 GB, free: 6.547 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.005704, allocations: 3.953 kB / 0.5503 GB, free: 6.543 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.005739, allocations: 17.72 kB / 0.5503 GB, free: 6.52 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.00584, allocations: 318.8 kB / 0.5506 GB, free: 6.199 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.87e-05/0.005898, allocations: 15.98 kB / 0.5506 GB, free: 6.184 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.499e-05/0.005943, allocations: 23.97 kB / 0.5507 GB, free: 6.16 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.006046, allocations: 44.77 kB / 0.5507 GB, free: 6.113 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.00605, allocations: 0 / 0.5507 GB, free: 6.113 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001479/0.006198, allocations: 85.58 kB / 0.5508 GB, free: 6.023 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.006215, allocations: 4 kB / 0.5508 GB, free: 6.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.006221, allocations: 0 / 0.5508 GB, free: 6.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.006239, allocations: 4 kB / 0.5508 GB, free: 6.016 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.28e-05/0.006302, allocations: 7.984 kB / 0.5508 GB, free: 6.008 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.00631, allocations: 4 kB / 0.5508 GB, free: 6.004 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.02e-05/0.00634, allocations: 7.953 kB / 0.5508 GB, free: 5.996 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.00635, allocations: 4.5 kB / 0.5508 GB, free: 5.992 MB / 0.5105 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 (rea2Int.y,fac.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 8.121e-05/0.006431, allocations: 105.8 kB / 0.5509 GB, free: 5.879 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.194e-05/0.006453, allocations: 15.88 kB / 0.5509 GB, free: 5.863 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002098/0.006663, allocations: 89.3 kB / 0.551 GB, free: 5.766 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.006666, allocations: 3.938 kB / 0.551 GB, free: 5.762 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.006672, allocations: 0 / 0.551 GB, free: 5.762 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.006676, allocations: 4 kB / 0.551 GB, free: 5.758 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/0.006819, allocations: 124.8 kB / 0.5511 GB, free: 5.594 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.006821, allocations: 0 / 0.5511 GB, free: 5.594 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.292e-05/0.006864, allocations: 15.92 kB / 0.5511 GB, free: 5.578 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.006867, allocations: 0 / 0.5511 GB, free: 5.578 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.006877, allocations: 8 kB / 0.5512 GB, free: 5.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.006879, allocations: 0 / 0.5512 GB, free: 5.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.006883, allocations: 4 kB / 0.5512 GB, free: 5.566 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002065/0.007089, allocations: 171.4 kB / 0.5513 GB, free: 5.383 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 1.363e-05/0.007103, allocations: 11.83 kB / 0.5513 GB, free: 5.371 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.007117, allocations: 0 / 0.5513 GB, free: 5.371 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.254e-05/0.007159, allocations: 11.98 kB / 0.5513 GB, free: 5.359 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.144e-05/0.007221, allocations: 4 kB / 0.5514 GB, free: 5.355 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.159e-06/0.007226, allocations: 7.938 kB / 0.5514 GB, free: 5.348 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.893e-05/0.007275, allocations: 87.27 kB / 0.5514 GB, free: 5.262 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.007275, allocations: 0 / 0.5514 GB, free: 5.262 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001777/0.007453, allocations: 8 kB / 0.5514 GB, free: 5.254 MB / 0.5105 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 (fac.y,rea2Int.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.0007939/0.008247, allocations: 0.7149 MB / 0.5521 GB, free: 4.512 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001607/0.008407, allocations: 43.95 kB / 0.5522 GB, free: 4.469 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.008409, allocations: 4 kB / 0.5522 GB, free: 4.465 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.315e-05/0.008462, allocations: 27.97 kB / 0.5522 GB, free: 4.438 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.008723, allocations: 2.656 kB / 0.5522 GB, free: 4.438 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005529/0.009276, allocations: 142.5 kB / 0.5524 GB, free: 4.258 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.699e-05/0.009343, allocations: 67.22 kB / 0.5524 GB, free: 4.172 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.728e-05/0.00938, allocations: 4 kB / 0.5524 GB, free: 4.168 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.993e-05/0.00943, allocations: 20.48 kB / 0.5524 GB, free: 4.148 MB / 0.5105 GB Notification: Performance of SimCode: time 8.82e-07/0.009431, allocations: 0 / 0.5524 GB, free: 4.148 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02116/0.03059, allocations: 2.276 MB / 0.5547 GB, free: 2.012 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.744/6.775, allocations: 11.25 kB / 0.5547 GB, free: 2.004 MB / 0.5105 GB " [Timeout remaining time 653] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Factorial_fmu --startTime=0 --stopTime=13 --stepSize=0.0052 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Factorial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.261607474647462] Failed to read output from testmodel.py, exit status != 0: 6.854967729188502 6.865523089 6.860273971 Calling exit ...