Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.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.0007885/0.0007885, allocations: 76.17 kB / 9.932 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001333/0.002122, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0008194/0.0008194, allocations: 165.1 kB / 11.26 MB, free: 2.914 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001041/0.00186, allocations: 463.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9951/0.9951, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09688/1.092, allocations: 53.65 MB / 243.3 MB, free: 15.6 MB / 250.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.5671/0.5671, allocations: 110.2 MB / 354.2 MB, free: 12.39 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.07097/0.6381, allocations: 34.95 MB / 389.2 MB, free: 9.367 MB / 378.7 MB " [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: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.755e-06/2.755e-06, allocations: 4 kB / 390.6 MB, free: 7.992 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.375e-05/2.65e-05, allocations: 2.312 kB / 390.6 MB, free: 7.988 MB / 378.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.001468/0.001495, allocations: 0.619 MB / 391.2 MB, free: 7.371 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001138/0.001609, allocations: 59.8 kB / 391.2 MB, free: 7.312 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.02e-05/0.001619, allocations: 0 / 391.2 MB, free: 7.312 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 4.057e-06/0.001623, allocations: 0 / 391.2 MB, free: 7.312 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 1.192e-06/0.001624, allocations: 0 / 391.2 MB, free: 7.312 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.736e-05/0.001722, allocations: 15.92 kB / 391.2 MB, free: 7.297 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.42e-05/0.001766, allocations: 0 / 391.2 MB, free: 7.297 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.717e-05/0.001803, allocations: 3.984 kB / 391.3 MB, free: 7.293 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.365e-05/0.001837, allocations: 4 kB / 391.3 MB, free: 7.289 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.573e-05/0.001862, allocations: 0 / 391.3 MB, free: 7.289 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.001874, allocations: 0 / 391.3 MB, free: 7.289 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.001984, allocations: 23.97 kB / 391.3 MB, free: 7.266 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.949e-06/0.001994, allocations: 7.938 kB / 391.3 MB, free: 7.258 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.062e-05/0.002005, allocations: 0 / 391.3 MB, free: 7.258 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 8.453e-05/0.002089, allocations: 27.91 kB / 391.3 MB, free: 7.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.534e-05/0.002105, allocations: 0 / 391.3 MB, free: 7.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.002106, allocations: 0 / 391.3 MB, free: 7.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.609e-05/0.002122, allocations: 0 / 391.3 MB, free: 7.23 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002533/0.002375, allocations: 204.8 kB / 391.5 MB, free: 7.004 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.00241, allocations: 16.02 kB / 391.5 MB, free: 6.988 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002352/0.002645, allocations: 97.97 kB / 391.6 MB, free: 6.875 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.011e-05/0.002705, allocations: 105.8 kB / 391.7 MB, free: 6.746 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.002714, allocations: 384 / 391.7 MB, free: 6.746 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-06/0.002722, allocations: 4.375 kB / 391.7 MB, free: 6.742 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.515e-05/0.002817, allocations: 42.95 kB / 391.8 MB, free: 6.691 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.002824, allocations: 192 / 391.8 MB, free: 6.691 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.44e-06/0.002829, allocations: 4.375 kB / 391.8 MB, free: 6.688 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.002834, allocations: 384 / 391.8 MB, free: 6.688 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.903e-05/0.002853, allocations: 11.86 kB / 391.8 MB, free: 6.676 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.17e-05/0.002925, allocations: 61.05 kB / 391.9 MB, free: 6.602 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.701e-05/0.002962, allocations: 18.58 kB / 391.9 MB, free: 6.574 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.347e-05/0.002975, allocations: 8.953 kB / 391.9 MB, free: 6.562 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.002992, allocations: 0 / 391.9 MB, free: 6.562 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.003013, allocations: 30.56 kB / 391.9 MB, free: 6.523 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 6.81e-07/0.003014, allocations: 0 / 391.9 MB, free: 6.523 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 9.586e-05/0.003109, allocations: 41.56 kB / 392 MB, free: 6.477 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.00314, allocations: 51.41 kB / 392 MB, free: 6.414 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.881e-05/0.003169, allocations: 93.86 kB / 392.1 MB, free: 6.312 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.003179, allocations: 25.7 kB / 392.1 MB, free: 6.281 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.195e-05/0.003201, allocations: 80.27 kB / 392.2 MB, free: 6.199 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005038/0.008239, allocations: 11.89 kB / 392.2 MB, free: 6.188 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.651e-05/0.008275, allocations: 17.7 kB / 392.2 MB, free: 6.164 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.402e-05/0.00836, allocations: 314.8 kB / 392.5 MB, free: 5.848 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.24e-05/0.008382, allocations: 0 / 392.5 MB, free: 5.848 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.053e-05/0.008392, allocations: 4 kB / 392.5 MB, free: 5.844 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.786e-05/0.00843, allocations: 12.84 kB / 392.5 MB, free: 5.828 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.008433, allocations: 0 / 392.5 MB, free: 5.828 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.866e-05/0.008491, allocations: 33.64 kB / 392.6 MB, free: 5.789 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.008506, allocations: 12.09 kB / 392.6 MB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.008512, allocations: 3.984 kB / 392.6 MB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.636e-06/0.00852, allocations: 0 / 392.6 MB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.145e-05/0.008602, allocations: 7.984 kB / 392.6 MB, free: 5.766 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.364e-06/0.008604, allocations: 0 / 392.6 MB, free: 5.766 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.489e-05/0.008619, allocations: 0 / 392.6 MB, free: 5.766 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-06/0.008623, allocations: 0 / 392.6 MB, free: 5.766 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.584e-05/0.008679, allocations: 113.8 kB / 392.7 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.931e-06/0.008685, allocations: 0 / 392.7 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.29e-05/0.008708, allocations: 3 kB / 392.7 MB, free: 5.637 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.008709, allocations: 4 kB / 392.7 MB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.008711, allocations: 0 / 392.7 MB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.008715, allocations: 3.984 kB / 392.7 MB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.832e-05/0.008773, allocations: 65.84 kB / 392.8 MB, free: 5.547 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.008774, allocations: 0 / 392.8 MB, free: 5.547 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.029e-05/0.008794, allocations: 4 kB / 392.8 MB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.216e-06/0.008797, allocations: 0 / 392.8 MB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.008798, allocations: 0 / 392.8 MB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.669e-06/0.008803, allocations: 3.984 kB / 392.8 MB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.008804, allocations: 0 / 392.8 MB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.008806, allocations: 4 kB / 392.8 MB, free: 5.535 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.522e-05/0.008872, allocations: 65.02 kB / 392.9 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.745e-06/0.008879, allocations: 0 / 392.9 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.284e-05/0.008892, allocations: 7.938 kB / 392.9 MB, free: 5.445 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.133e-05/0.008903, allocations: 7.984 kB / 392.9 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-06/0.008905, allocations: 0 / 392.9 MB, free: 5.438 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.122e-06/0.008911, allocations: 4.859 kB / 392.9 MB, free: 5.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008911, allocations: 0 / 392.9 MB, free: 5.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001261/0.009038, allocations: 0 / 392.9 MB, free: 5.43 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0001048/0.009142, allocations: 80.45 kB / 393 MB, free: 5.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 6.732e-05/0.00921, allocations: 12.8 kB / 393 MB, free: 5.324 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.009213, allocations: 0 / 393 MB, free: 5.324 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.267e-06/0.009222, allocations: 8.844 kB / 393 MB, free: 5.312 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.645e-05/0.009289, allocations: 11.69 kB / 393 MB, free: 5.301 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001767/0.009465, allocations: 82.36 kB / 393.1 MB, free: 5.195 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.938e-05/0.009495, allocations: 55.34 kB / 393.1 MB, free: 5.121 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.986e-05/0.009525, allocations: 12.11 kB / 393.1 MB, free: 5.109 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.762e-05/0.009562, allocations: 47.38 kB / 393.2 MB, free: 5.062 MB / 378.7 MB Notification: Performance of SimCode: time 9.42e-07/0.009563, allocations: 0 / 393.2 MB, free: 5.062 MB / 378.7 MB Notification: Performance of Templates: time 0.004819/0.01438, allocations: 285.2 kB / 393.5 MB, free: 4.785 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0275410786271095]