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.0007188/0.0007188, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007688/0.0007688, allocations: 178.2 kB / 23.22 MB, free: 1.348 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.8565/0.8565, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.5276/0.5276, allocations: 110.2 MB / 370.2 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: 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: 0 / 0.5486 GB, free: 8.203 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.352e-05/2.628e-05, allocations: 2.281 kB / 0.5486 GB, free: 8.199 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.001081/0.001107, allocations: 0.5867 MB / 0.5491 GB, free: 7.613 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002058/0.001313, allocations: 43.86 kB / 0.5492 GB, free: 7.57 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.487e-05/0.001328, allocations: 0 / 0.5492 GB, free: 7.57 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 1.548e-05/0.001343, allocations: 3.938 kB / 0.5492 GB, free: 7.566 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 7.504e-06/0.001351, allocations: 0 / 0.5492 GB, free: 7.566 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002298/0.001581, allocations: 15.92 kB / 0.5492 GB, free: 7.551 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 4.167e-05/0.001622, allocations: 0 / 0.5492 GB, free: 7.551 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.045e-05/0.001673, allocations: 12 kB / 0.5492 GB, free: 7.539 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.557e-05/0.001698, allocations: 3.984 kB / 0.5492 GB, free: 7.535 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.28e-05/0.001721, allocations: 3.938 kB / 0.5492 GB, free: 7.531 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.001734, allocations: 0 / 0.5492 GB, free: 7.531 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.332e-05/0.001827, allocations: 23.97 kB / 0.5492 GB, free: 7.508 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 1.105e-05/0.001838, allocations: 0 / 0.5492 GB, free: 7.508 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 1.25e-05/0.001851, allocations: 0 / 0.5492 GB, free: 7.508 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 8.237e-05/0.001933, allocations: 19.92 kB / 0.5493 GB, free: 7.488 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.001935, allocations: 0 / 0.5493 GB, free: 7.488 MB / 474.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.001936, allocations: 3.938 kB / 0.5493 GB, free: 7.484 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.047e-06/0.00194, allocations: 0 / 0.5493 GB, free: 7.484 MB / 474.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.0002151/0.002155, allocations: 242.4 kB / 0.5495 GB, free: 7.215 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.002191, allocations: 8.031 kB / 0.5495 GB, free: 7.207 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001894/0.00238, allocations: 24.91 kB / 0.5495 GB, free: 7.184 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.242e-05/0.002433, allocations: 101.8 kB / 0.5496 GB, free: 7.059 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.002442, allocations: 384 / 0.5496 GB, free: 7.059 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.834e-06/0.00245, allocations: 384 / 0.5496 GB, free: 7.059 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.002552, allocations: 34.25 kB / 0.5497 GB, free: 7.02 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.002559, allocations: 192 / 0.5497 GB, free: 7.02 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/0.002569, allocations: 8.375 kB / 0.5497 GB, free: 7.012 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.002577, allocations: 384 / 0.5497 GB, free: 7.012 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.584e-05/0.002623, allocations: 11.92 kB / 0.5497 GB, free: 7 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001/0.002723, allocations: 101.3 kB / 0.5498 GB, free: 6.871 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.189e-05/0.002775, allocations: 26.55 kB / 0.5498 GB, free: 6.836 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.861e-05/0.002804, allocations: 12.84 kB / 0.5498 GB, free: 6.82 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.002824, allocations: 4.062 kB / 0.5498 GB, free: 6.816 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.002842, allocations: 30.56 kB / 0.5498 GB, free: 6.777 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.002843, allocations: 4 kB / 0.5498 GB, free: 6.773 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001673/0.00301, allocations: 45.62 kB / 0.5499 GB, free: 6.723 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.003043, allocations: 55.39 kB / 0.5499 GB, free: 6.656 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.599e-05/0.003069, allocations: 89.86 kB / 0.55 GB, free: 6.559 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 9.248e-06/0.003078, allocations: 25.7 kB / 0.5501 GB, free: 6.527 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.112e-05/0.003099, allocations: 84.14 kB / 0.5501 GB, free: 6.441 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.853e-05/0.003128, allocations: 7.891 kB / 0.5501 GB, free: 6.434 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-05/0.003152, allocations: 13.72 kB / 0.5502 GB, free: 6.414 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.354e-05/0.003226, allocations: 314.9 kB / 0.5505 GB, free: 6.098 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.93e-05/0.003255, allocations: 11.98 kB / 0.5505 GB, free: 6.086 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.887e-05/0.003274, allocations: 4 kB / 0.5505 GB, free: 6.082 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.658e-05/0.003321, allocations: 16.84 kB / 0.5505 GB, free: 6.062 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.003323, allocations: 0 / 0.5505 GB, free: 6.062 MB / 474.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.712e-05/0.00339, allocations: 45.62 kB / 0.5505 GB, free: 6.012 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.003402, allocations: 5.719 kB / 0.5505 GB, free: 6.008 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.003406, allocations: 4.094 kB / 0.5505 GB, free: 6.004 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.003416, allocations: 0 / 0.5505 GB, free: 6.004 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.494e-05/0.003471, allocations: 7.984 kB / 0.5505 GB, free: 5.996 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.003476, allocations: 0 / 0.5505 GB, free: 5.996 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.814e-05/0.003494, allocations: 7.938 kB / 0.5506 GB, free: 5.988 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.0035, allocations: 0 / 0.5506 GB, free: 5.988 MB / 474.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.819e-05/0.003558, allocations: 109.8 kB / 0.5507 GB, free: 5.871 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.499e-06/0.003563, allocations: 7.922 kB / 0.5507 GB, free: 5.863 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.947e-05/0.003592, allocations: 7 kB / 0.5507 GB, free: 5.855 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.003594, allocations: 4 kB / 0.5507 GB, free: 5.852 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.003598, allocations: 0 / 0.5507 GB, free: 5.852 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.003601, allocations: 0 / 0.5507 GB, free: 5.852 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.263e-05/0.003654, allocations: 101.2 kB / 0.5508 GB, free: 5.723 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.12e-07/0.003654, allocations: 0 / 0.5508 GB, free: 5.723 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.967e-05/0.003674, allocations: 7.984 kB / 0.5508 GB, free: 5.715 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.003675, allocations: 0 / 0.5508 GB, free: 5.715 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.003681, allocations: 0 / 0.5508 GB, free: 5.715 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.003682, allocations: 0 / 0.5508 GB, free: 5.715 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.003685, allocations: 4 kB / 0.5508 GB, free: 5.711 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.464e-05/0.003769, allocations: 73 kB / 0.5509 GB, free: 5.621 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-06/0.003774, allocations: 4 kB / 0.5509 GB, free: 5.617 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.828e-06/0.003784, allocations: 3.984 kB / 0.5509 GB, free: 5.613 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.097e-05/0.003794, allocations: 0 / 0.5509 GB, free: 5.613 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.225e-05/0.003807, allocations: 0 / 0.5509 GB, free: 5.613 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.155e-06/0.003809, allocations: 0 / 0.5509 GB, free: 5.613 MB / 474.7 MB Notification: Performance of sorting global known variables: time 2.157e-05/0.00383, allocations: 79.28 kB / 0.5509 GB, free: 5.535 MB / 474.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003831, allocations: 0 / 0.5509 GB, free: 5.535 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001101/0.003941, allocations: 3.938 kB / 0.5509 GB, free: 5.531 MB / 474.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 8.31e-05/0.004024, allocations: 99.22 kB / 0.551 GB, free: 5.426 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 9.08e-05/0.004115, allocations: 15.98 kB / 0.5511 GB, free: 5.41 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.004117, allocations: 4 kB / 0.5511 GB, free: 5.406 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.928e-05/0.004136, allocations: 11.92 kB / 0.5511 GB, free: 5.395 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.584e-05/0.004232, allocations: 0 / 0.5511 GB, free: 5.395 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000191/0.004423, allocations: 102.7 kB / 0.5512 GB, free: 5.262 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.183e-05/0.004465, allocations: 59.47 kB / 0.5512 GB, free: 5.184 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.517e-05/0.00449, allocations: 16.48 kB / 0.5512 GB, free: 5.164 MB / 474.7 MB Notification: Performance of SimCode: time 3.51e-07/0.00449, allocations: 0 / 0.5512 GB, free: 5.164 MB / 474.7 MB Notification: Performance of Templates: time 0.001247/0.005737, allocations: 405.1 kB / 0.5516 GB, free: 4.773 MB / 474.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=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.549771787598729] Failed to read output from testmodel.py, exit status != 0: 0.010450577363371849 0.018960906 0.015432222 Calling exit ...