Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.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.001491/0.001491, allocations: 100.4 kB / 16.45 MB, free: 6.449 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.001612/0.001612, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.567/1.567, allocations: 230.6 MB / 252.8 MB, free: 8.953 MB / 206.1 MB " [Timeout remaining time 178] 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.9788/0.9788, allocations: 144.9 MB / 453.8 MB, free: 0.7305 MB / 350.1 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.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests") [Timeout 660] "Notification: BuildSysPro 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.00251/0.00251, allocations: 73.12 kB / 0.6285 GB, free: 10.19 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.2, allocations: 87.82 MB / 0.7142 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.003659/0.2036, allocations: 1.494 MB / 0.7157 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001305/0.2049, allocations: 0.526 MB / 0.7162 GB, free: 336 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.205, allocations: 3.938 kB / 0.7162 GB, free: 332 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001248/0.2052, allocations: 3.938 kB / 0.7162 GB, free: 328 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.294e-05/0.2052, allocations: 11.88 kB / 0.7162 GB, free: 316 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003605/0.2056, allocations: 51.86 kB / 0.7163 GB, free: 264 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002442/0.2058, allocations: 99.69 kB / 0.7164 GB, free: 164 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.206, allocations: 12.19 kB / 0.7164 GB, free: 152 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002413/0.2062, allocations: 55.84 kB / 0.7164 GB, free: 96 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.2063, allocations: 55.73 kB / 0.7165 GB, free: 40 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.194e-05/0.2064, allocations: 8 kB / 0.7165 GB, free: 32 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.951e-05/0.2064, allocations: 8 kB / 0.7165 GB, free: 24 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.048e-05/0.2065, allocations: 15.92 kB / 0.7165 GB, free: 8 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.2066, allocations: 35.98 kB / 0.7165 GB, free: 15.97 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000222/0.2068, allocations: 91.62 kB / 0.7166 GB, free: 15.88 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2068, allocations: 3.938 kB / 0.7166 GB, free: 15.88 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2068, allocations: 0 / 0.7166 GB, free: 15.88 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.2068, allocations: 0 / 0.7166 GB, free: 15.88 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009055/0.2077, allocations: 464.4 kB / 0.7171 GB, free: 15.36 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.2078, allocations: 8.031 kB / 0.7171 GB, free: 15.36 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00022/0.208, allocations: 20.88 kB / 0.7171 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003257/0.2083, allocations: 188.3 kB / 0.7173 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.2083, allocations: 12.3 kB / 0.7173 GB, free: 15.1 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.915e-05/0.2083, allocations: 8.375 kB / 0.7173 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003661/0.2087, allocations: 117.7 kB / 0.7174 GB, free: 14.97 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.2087, allocations: 0 / 0.7174 GB, free: 14.97 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.457e-05/0.2087, allocations: 11.98 kB / 0.7174 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.2088, allocations: 0 / 0.7174 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000361/0.2091, allocations: 87.92 kB / 0.7175 GB, free: 14.88 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007316/0.2098, allocations: 328.7 kB / 0.7178 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004282/0.2103, allocations: 98.44 kB / 0.7179 GB, free: 14.4 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00021/0.2105, allocations: 64.94 kB / 0.718 GB, free: 14.33 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.2105, allocations: 0 / 0.718 GB, free: 14.33 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003653/0.2109, allocations: 123.3 kB / 0.7181 GB, free: 14.2 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 2.234e-06/0.2109, allocations: 0 / 0.7181 GB, free: 14.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0008905/0.2118, allocations: 283.1 kB / 0.7184 GB, free: 13.91 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.059e-05/0.2118, allocations: 85.09 kB / 0.7185 GB, free: 13.81 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.212, allocations: 132.2 kB / 0.7186 GB, free: 13.67 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.306e-05/0.212, allocations: 33.69 kB / 0.7186 GB, free: 13.63 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.725e-05/0.2121, allocations: 92.09 kB / 0.7187 GB, free: 13.54 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.561e-05/0.2122, allocations: 20.64 kB / 0.7187 GB, free: 13.52 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.802e-05/0.2123, allocations: 33.7 kB / 0.7188 GB, free: 13.48 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.2124, allocations: 322.8 kB / 0.7191 GB, free: 13.15 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002188/0.2127, allocations: 63.95 kB / 0.7191 GB, free: 13.09 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002462/0.2129, allocations: 71.95 kB / 0.7192 GB, free: 13.02 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004082/0.2133, allocations: 185.9 kB / 0.7194 GB, free: 12.82 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2133, allocations: 3.938 kB / 0.7194 GB, free: 12.81 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006302/0.2139, allocations: 265.3 kB / 0.7196 GB, free: 12.54 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.975e-05/0.214, allocations: 67.39 kB / 0.7197 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.214, allocations: 0 / 0.7197 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.508e-05/0.214, allocations: 0 / 0.7197 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.2142, allocations: 15.98 kB / 0.7197 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.2142, allocations: 3.938 kB / 0.7197 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001643/0.2144, allocations: 27.97 kB / 0.7197 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.2144, allocations: 4 kB / 0.7197 GB, free: 12.41 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,numReq.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001756/0.2145, allocations: 163.5 kB / 0.7199 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.899e-05/0.2146, allocations: 7.953 kB / 0.7199 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.727e-05/0.2146, allocations: 8.719 kB / 0.7199 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.2146, allocations: 4 kB / 0.7199 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.2146, allocations: 0 / 0.7199 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.2146, allocations: 3.984 kB / 0.7199 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002238/0.2149, allocations: 193.5 kB / 0.7201 GB, free: 11.97 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2149, allocations: 0 / 0.7201 GB, free: 11.97 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.287e-05/0.215, allocations: 11.98 kB / 0.7201 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.215, allocations: 0 / 0.7201 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.223e-05/0.215, allocations: 15.98 kB / 0.7201 GB, free: 11.94 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.215, allocations: 0 / 0.7201 GB, free: 11.94 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.215, allocations: 0 / 0.7201 GB, free: 11.94 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005873/0.2156, allocations: 246.6 kB / 0.7204 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.042e-05/0.2156, allocations: 89 kB / 0.7204 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.914e-05/0.2157, allocations: 4 kB / 0.7204 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.2158, allocations: 27.97 kB / 0.7205 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/0.216, allocations: 27.97 kB / 0.7205 GB, free: 11.51 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.216, allocations: 7.984 kB / 0.7205 GB, free: 11.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001315/0.2161, allocations: 101.7 kB / 0.7206 GB, free: 11.41 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.2161, allocations: 7.938 kB / 0.7206 GB, free: 11.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002329/0.2163, allocations: 27.94 kB / 0.7206 GB, free: 11.37 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,numReq.y,pulse.T_start,pulse.count) * Number of discrete states: 2 (pulse.count,numReq.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0001367/0.2165, allocations: 95.25 kB / 0.7207 GB, free: 11.27 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005924/0.2171, allocations: 262.6 kB / 0.721 GB, free: 10.99 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2171, allocations: 0 / 0.721 GB, free: 10.99 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003081/0.2174, allocations: 131.3 kB / 0.7211 GB, free: 10.85 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.2176, allocations: 18.17 kB / 0.7211 GB, free: 10.83 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006489/0.2183, allocations: 223 kB / 0.7213 GB, free: 10.58 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004048/0.2187, allocations: 0.6885 MB / 0.722 GB, free: 9.867 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.91e-05/0.2187, allocations: 11.73 kB / 0.722 GB, free: 9.855 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.085e-05/0.2188, allocations: 15.44 kB / 0.722 GB, free: 9.84 MB / 0.545 GB Notification: Performance of SimCode: time 6.31e-07/0.2188, allocations: 3.938 kB / 0.722 GB, free: 9.836 MB / 0.545 GB Notification: Performance of Templates: time 0.006152/0.2249, allocations: 1.897 MB / 0.7239 GB, free: 7.953 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.0323996134102345] Failed to read output from testmodel.py, exit status != 0: 0.2346925549209118 0.25029958199999996 0.0402295 Calling exit ...