Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.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.001068/0.001068, 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.001055/0.001055, allocations: 165.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.9089/0.9089, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.5391/0.5391, allocations: 110.2 MB / 369.4 MB, free: 12.64 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.Functions.Examples.Factorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Factorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Factorial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 0.5473 GB, free: 9.793 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.994e-05/2.187e-05, allocations: 4.953 kB / 0.5473 GB, free: 9.789 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.001261/0.001283, allocations: 0.5956 MB / 0.5479 GB, free: 9.191 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0002269/0.00151, allocations: 47.81 kB / 0.548 GB, free: 9.145 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.638e-05/0.001526, allocations: 0 / 0.548 GB, free: 9.145 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.871e-05/0.001545, allocations: 0 / 0.548 GB, free: 9.145 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.893e-06/0.001552, allocations: 0 / 0.548 GB, free: 9.145 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.001792, allocations: 23.84 kB / 0.548 GB, free: 9.121 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 5.036e-05/0.001842, allocations: 4 kB / 0.548 GB, free: 9.117 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.577e-05/0.001888, allocations: 0 / 0.548 GB, free: 9.117 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 2.775e-05/0.001916, allocations: 0 / 0.548 GB, free: 9.117 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 2.093e-05/0.001937, allocations: 4 kB / 0.548 GB, free: 9.113 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.001949, allocations: 0 / 0.548 GB, free: 9.113 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 7.476e-05/0.002023, allocations: 11.98 kB / 0.548 GB, free: 9.102 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.043e-05/0.002034, allocations: 4 kB / 0.548 GB, free: 9.098 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.507e-05/0.002049, allocations: 3.984 kB / 0.548 GB, free: 9.094 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 8.996e-05/0.002139, allocations: 15.92 kB / 0.548 GB, free: 9.078 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.0002775/0.002416, allocations: 4 kB / 0.548 GB, free: 9.074 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.91e-07/0.002417, allocations: 0 / 0.548 GB, free: 9.074 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.002421, allocations: 0 / 0.548 GB, free: 9.074 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002361/0.002658, allocations: 230.5 kB / 0.5482 GB, free: 8.816 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.002698, allocations: 8.031 kB / 0.5483 GB, free: 8.809 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.996e-05/0.002728, allocations: 38.73 kB / 0.5483 GB, free: 8.762 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.251e-05/0.002751, allocations: 4.891 kB / 0.5483 GB, free: 8.758 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.325e-05/0.002804, allocations: 105.8 kB / 0.5484 GB, free: 8.629 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.729e-06/0.002814, allocations: 4.375 kB / 0.5484 GB, free: 8.625 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.614e-06/0.002821, allocations: 384 / 0.5484 GB, free: 8.625 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.619e-05/0.002907, allocations: 30.27 kB / 0.5484 GB, free: 8.59 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.002914, allocations: 192 / 0.5484 GB, free: 8.59 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.002922, allocations: 384 / 0.5484 GB, free: 8.59 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.002928, allocations: 12.06 kB / 0.5484 GB, free: 8.578 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.484e-05/0.002962, allocations: 3.984 kB / 0.5484 GB, free: 8.574 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001154/0.003078, allocations: 124.7 kB / 0.5486 GB, free: 8.41 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.968e-05/0.003128, allocations: 18.61 kB / 0.5486 GB, free: 8.383 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.795e-05/0.003146, allocations: 12.92 kB / 0.5486 GB, free: 8.367 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001515/0.003297, allocations: 11.98 kB / 0.5486 GB, free: 8.355 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.003316, allocations: 34.56 kB / 0.5486 GB, free: 8.312 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.003317, allocations: 0 / 0.5486 GB, free: 8.312 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001323/0.003449, allocations: 45.62 kB / 0.5487 GB, free: 8.262 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.003481, allocations: 59.34 kB / 0.5487 GB, free: 8.191 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.701e-05/0.003508, allocations: 89.86 kB / 0.5488 GB, free: 8.094 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.777e-06/0.003516, allocations: 25.7 kB / 0.5488 GB, free: 8.062 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 1.68e-05/0.003533, allocations: 80.14 kB / 0.5489 GB, free: 7.98 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.71e-05/0.00355, allocations: 3.938 kB / 0.5489 GB, free: 7.977 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-05/0.003576, allocations: 17.84 kB / 0.5489 GB, free: 7.953 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.076e-05/0.003646, allocations: 314.8 kB / 0.5492 GB, free: 7.637 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.228e-05/0.003659, allocations: 4 kB / 0.5492 GB, free: 7.633 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.264e-06/0.003666, allocations: 3.984 kB / 0.5493 GB, free: 7.629 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.943e-05/0.003695, allocations: 16.8 kB / 0.5493 GB, free: 7.609 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.003697, allocations: 0 / 0.5493 GB, free: 7.609 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.24e-05/0.00374, allocations: 41.64 kB / 0.5493 GB, free: 7.562 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.003752, allocations: 4 kB / 0.5493 GB, free: 7.559 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.003757, allocations: 0 / 0.5493 GB, free: 7.559 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.00377, allocations: 0 / 0.5493 GB, free: 7.559 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.828e-05/0.003828, allocations: 12.08 kB / 0.5493 GB, free: 7.547 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.003834, allocations: 3.938 kB / 0.5493 GB, free: 7.543 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.036e-05/0.003844, allocations: 3.953 kB / 0.5493 GB, free: 7.539 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-06/0.003848, allocations: 0 / 0.5493 GB, free: 7.539 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 (n,fac) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 5.841e-05/0.003906, allocations: 113.8 kB / 0.5494 GB, free: 7.418 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.188e-06/0.003911, allocations: 0 / 0.5494 GB, free: 7.418 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.539e-05/0.003996, allocations: 56.75 kB / 0.5495 GB, free: 7.355 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.003999, allocations: 0 / 0.5495 GB, free: 7.355 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.004004, allocations: 3.938 kB / 0.5495 GB, free: 7.352 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.004007, allocations: 32 / 0.5495 GB, free: 7.352 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.907e-05/0.004076, allocations: 120.8 kB / 0.5496 GB, free: 7.191 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.004077, allocations: 0 / 0.5496 GB, free: 7.191 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.722e-05/0.004094, allocations: 7.984 kB / 0.5496 GB, free: 7.184 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.004095, allocations: 0 / 0.5496 GB, free: 7.184 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.004101, allocations: 0 / 0.5496 GB, free: 7.184 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.004103, allocations: 0 / 0.5496 GB, free: 7.184 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.004104, allocations: 3.938 kB / 0.5496 GB, free: 7.18 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.644e-05/0.004161, allocations: 65.12 kB / 0.5497 GB, free: 7.098 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.878e-06/0.004165, allocations: 0 / 0.5497 GB, free: 7.098 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.325e-06/0.004173, allocations: 3.938 kB / 0.5497 GB, free: 7.094 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.619e-06/0.004178, allocations: 7.969 kB / 0.5497 GB, free: 7.086 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.946e-05/0.004207, allocations: 7.938 kB / 0.5497 GB, free: 7.078 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-06/0.004209, allocations: 0 / 0.5497 GB, free: 7.078 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.067e-05/0.004229, allocations: 75.28 kB / 0.5498 GB, free: 7.004 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4e-08/0.004229, allocations: 0 / 0.5498 GB, free: 7.004 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001259/0.004355, allocations: 4 kB / 0.5498 GB, free: 7 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,n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0003003/0.004656, allocations: 0.6047 MB / 0.5504 GB, free: 6.363 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.761e-05/0.004723, allocations: 11.94 kB / 0.5504 GB, free: 6.352 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.004725, allocations: 4.094 kB / 0.5504 GB, free: 6.348 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 9.679e-06/0.004734, allocations: 7.938 kB / 0.5504 GB, free: 6.34 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001039/0.004838, allocations: 3.938 kB / 0.5504 GB, free: 6.336 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002672/0.005105, allocations: 114.5 kB / 0.5505 GB, free: 6.184 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.68e-05/0.005142, allocations: 55.36 kB / 0.5506 GB, free: 6.109 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.093e-05/0.005153, allocations: 0 / 0.5506 GB, free: 6.109 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.189e-05/0.005175, allocations: 16.48 kB / 0.5506 GB, free: 6.094 MB / 0.5105 GB Notification: Performance of SimCode: time 5.81e-07/0.005176, allocations: 0 / 0.5506 GB, free: 6.094 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01424/0.01941, allocations: 1.718 MB / 0.5523 GB, free: 4.512 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.627/6.647, allocations: 8 kB / 0.5523 GB, free: 4.504 MB / 0.5105 GB " [Timeout remaining time 653] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Factorial_fmu --startTime=0 --stopTime=12.9 --stepSize=0.00516 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_Factorial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.132897893898189] Failed to read output from testmodel.py, exit status != 0: 6.7240393999964 6.734328508 6.730128482 Calling exit ...