Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001677/0.001677, allocations: 104 kB / 20.33 MB, free: 1.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001931/0.001931, allocations: 193 kB / 23.6 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 225.6 MB / 252.3 MB, free: 13.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9865/0.9865, allocations: 149.6 MB / 457.1 MB, free: 1.297 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") translateModel(IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002117/0.002117, allocations: 68.45 kB / 0.6331 GB, free: 9.188 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.172, allocations: 87.88 MB / 0.719 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002488/0.1745, allocations: 0.9959 MB / 0.7199 GB, free: 236 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002154/0.1766, allocations: 1.345 MB / 0.7212 GB, free: 14.87 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.1768, allocations: 4 kB / 0.7212 GB, free: 14.87 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001269/0.1769, allocations: 19.73 kB / 0.7213 GB, free: 14.85 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001326/0.177, allocations: 43.66 kB / 0.7213 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009324/0.178, allocations: 273 kB / 0.7216 GB, free: 14.54 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005374/0.1785, allocations: 395.1 kB / 0.7219 GB, free: 14.16 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.1787, allocations: 45.8 kB / 0.722 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002684/0.1789, allocations: 155.6 kB / 0.7221 GB, free: 13.96 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002704/0.1792, allocations: 135.5 kB / 0.7223 GB, free: 13.83 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.18e-05/0.1793, allocations: 32 kB / 0.7223 GB, free: 13.8 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.1794, allocations: 59.97 kB / 0.7224 GB, free: 13.74 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.1795, allocations: 55.83 kB / 0.7224 GB, free: 13.68 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001774/0.1797, allocations: 135.4 kB / 0.7225 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005182/0.1802, allocations: 406.5 kB / 0.7229 GB, free: 13.15 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1802, allocations: 0 / 0.7229 GB, free: 13.15 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1802, allocations: 0 / 0.7229 GB, free: 13.15 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.812e-05/0.1803, allocations: 0 / 0.7229 GB, free: 13.15 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001209/0.1815, allocations: 0.5482 MB / 0.7235 GB, free: 12.56 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.1815, allocations: 8.625 kB / 0.7235 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.1816, allocations: 36.75 kB / 0.7235 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000999/0.1826, allocations: 309.1 kB / 0.7238 GB, free: 12.19 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.994e-05/0.1826, allocations: 20.36 kB / 0.7238 GB, free: 12.17 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.193e-05/0.1827, allocations: 24.38 kB / 0.7238 GB, free: 12.15 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004789/0.1832, allocations: 202.9 kB / 0.724 GB, free: 11.93 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.1832, allocations: 7.938 kB / 0.724 GB, free: 11.92 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.129e-05/0.1832, allocations: 7.984 kB / 0.724 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.1832, allocations: 4 kB / 0.724 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004801/0.1837, allocations: 139.8 kB / 0.7242 GB, free: 11.77 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00129/0.185, allocations: 0.875 MB / 0.725 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003553/0.1853, allocations: 145 kB / 0.7252 GB, free: 10.65 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002538/0.1856, allocations: 80.3 kB / 0.7253 GB, free: 10.56 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.1856, allocations: 7.938 kB / 0.7253 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003981/0.186, allocations: 175.4 kB / 0.7254 GB, free: 10.35 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.774e-06/0.186, allocations: 0 / 0.7254 GB, free: 10.35 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.000919/0.1869, allocations: 253.6 kB / 0.7257 GB, free: 10.1 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.187, allocations: 162.2 kB / 0.7258 GB, free: 9.902 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002554/0.1873, allocations: 224.9 kB / 0.726 GB, free: 9.672 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.938e-05/0.1874, allocations: 33.7 kB / 0.7261 GB, free: 9.633 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.1875, allocations: 152.3 kB / 0.7262 GB, free: 9.48 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.096e-05/0.1875, allocations: 35.72 kB / 0.7262 GB, free: 9.445 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.1877, allocations: 57.69 kB / 0.7263 GB, free: 9.383 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.1878, allocations: 338.8 kB / 0.7266 GB, free: 9.043 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003443/0.1882, allocations: 103.8 kB / 0.7267 GB, free: 8.941 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003973/0.1886, allocations: 173.3 kB / 0.7269 GB, free: 8.738 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006064/0.1892, allocations: 270.9 kB / 0.7272 GB, free: 8.434 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.1892, allocations: 4 kB / 0.7272 GB, free: 8.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009304/0.1901, allocations: 380.5 kB / 0.7275 GB, free: 8.039 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.666e-05/0.1902, allocations: 67.39 kB / 0.7276 GB, free: 7.961 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.1902, allocations: 4 kB / 0.7276 GB, free: 7.957 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.1902, allocations: 8.219 kB / 0.7276 GB, free: 7.949 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/0.1904, allocations: 23.97 kB / 0.7276 GB, free: 7.926 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.62e-05/0.1904, allocations: 7.938 kB / 0.7276 GB, free: 7.918 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004787/0.1909, allocations: 79.89 kB / 0.7277 GB, free: 7.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.003e-05/0.1909, allocations: 15.98 kB / 0.7277 GB, free: 7.824 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * 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.0001764/0.1911, allocations: 153.8 kB / 0.7279 GB, free: 7.664 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.942e-05/0.1911, allocations: 23.86 kB / 0.7279 GB, free: 7.641 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.405e-05/0.1912, allocations: 21.33 kB / 0.7279 GB, free: 7.617 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.1912, allocations: 4.469 kB / 0.7279 GB, free: 7.613 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1912, allocations: 0 / 0.7279 GB, free: 7.613 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.1912, allocations: 4 kB / 0.7279 GB, free: 7.609 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000266/0.1915, allocations: 232.5 kB / 0.7281 GB, free: 7.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1915, allocations: 0 / 0.7281 GB, free: 7.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.1916, allocations: 31.91 kB / 0.7282 GB, free: 7.309 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/0.1916, allocations: 7.984 kB / 0.7282 GB, free: 7.301 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.1916, allocations: 0 / 0.7282 GB, free: 7.301 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.1916, allocations: 4 kB / 0.7282 GB, free: 7.297 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1916, allocations: 0 / 0.7282 GB, free: 7.297 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005889/0.1922, allocations: 248.1 kB / 0.7284 GB, free: 7.023 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.469e-05/0.1923, allocations: 15.91 kB / 0.7284 GB, free: 7.008 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.73e-05/0.1923, allocations: 4 kB / 0.7284 GB, free: 7.004 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.1924, allocations: 23.97 kB / 0.7285 GB, free: 6.98 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.569e-05/0.1925, allocations: 15.97 kB / 0.7285 GB, free: 6.965 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.1925, allocations: 4 kB / 0.7285 GB, free: 6.961 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001606/0.1927, allocations: 168.4 kB / 0.7286 GB, free: 6.793 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1927, allocations: 0 / 0.7286 GB, free: 6.793 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003402/0.193, allocations: 55.89 kB / 0.7287 GB, free: 6.738 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0001901/0.1932, allocations: 111.2 kB / 0.7288 GB, free: 6.621 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007818/0.194, allocations: 310.5 kB / 0.7291 GB, free: 6.293 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.194, allocations: 448 / 0.7291 GB, free: 6.293 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000279/0.1943, allocations: 79.88 kB / 0.7292 GB, free: 6.215 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/0.1946, allocations: 54.64 kB / 0.7292 GB, free: 6.164 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007336/0.1954, allocations: 386.7 kB / 0.7296 GB, free: 5.75 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003929/0.1957, allocations: 0.7515 MB / 0.7303 GB, free: 4.973 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001264/0.1959, allocations: 33.61 kB / 0.7304 GB, free: 4.941 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.733e-05/0.1959, allocations: 23.44 kB / 0.7304 GB, free: 4.918 MB / 0.545 GB Notification: Performance of SimCode: time 3.2e-07/0.1959, allocations: 0 / 0.7304 GB, free: 4.918 MB / 0.545 GB Notification: Performance of Templates: time 0.007812/0.2037, allocations: 3.22 MB / 0.7335 GB, free: 1.738 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.84749711000768] Failed to read output from testmodel.py, exit status != 0: 0.21257540400256403 0.22803341899999996 0.044437529 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7ff2e2aa9840>