Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.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.001511/0.001511, allocations: 82.02 kB / 19.76 MB, free: 2.031 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.001655/0.001655, allocations: 159.3 kB / 23.01 MB, free: 4.945 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.341/1.341, allocations: 177.2 MB / 203.4 MB, free: 8.938 MB / 190.1 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.8195/0.8195, allocations: 110.3 MB / 370.1 MB, free: 15.66 MB / 350.1 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.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker") [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.001963/0.001963, allocations: 62.53 kB / 0.5483 GB, free: 13.33 MB / 0.5137 GB [/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 FrontEnd - Absyn->SCode: time 0.1475/0.1494, allocations: 87.87 MB / 0.6341 GB, free: 5.305 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.002842/0.1523, allocations: 1.553 MB / 0.6356 GB, free: 3.742 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.001132/0.1534, allocations: 0.6039 MB / 0.6362 GB, free: 3.133 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.104e-05/0.1535, allocations: 3.938 kB / 0.6362 GB, free: 3.129 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 9.165e-05/0.1536, allocations: 11.92 kB / 0.6362 GB, free: 3.117 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.839e-05/0.1536, allocations: 15.81 kB / 0.6362 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004037/0.154, allocations: 115.7 kB / 0.6363 GB, free: 2.988 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.1542, allocations: 103.6 kB / 0.6364 GB, free: 2.887 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 8.612e-05/0.1543, allocations: 12.22 kB / 0.6364 GB, free: 2.871 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.1544, allocations: 51.78 kB / 0.6365 GB, free: 2.82 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 9.651e-05/0.1545, allocations: 43.81 kB / 0.6365 GB, free: 2.777 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.1545, allocations: 8 kB / 0.6365 GB, free: 2.77 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.1547, allocations: 95.84 kB / 0.6366 GB, free: 2.676 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.731e-05/0.1547, allocations: 19.92 kB / 0.6366 GB, free: 2.656 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 5.426e-05/0.1548, allocations: 35.8 kB / 0.6367 GB, free: 2.621 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.155, allocations: 151.4 kB / 0.6368 GB, free: 2.473 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.155, allocations: 4 kB / 0.6368 GB, free: 2.469 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.062e-06/0.155, allocations: 0 / 0.6368 GB, free: 2.469 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.155, allocations: 4 kB / 0.6368 GB, free: 2.465 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007529/0.1558, allocations: 379.5 kB / 0.6372 GB, free: 2.059 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.947e-05/0.1558, allocations: 11.97 kB / 0.6372 GB, free: 2.047 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002581/0.1561, allocations: 32.86 kB / 0.6372 GB, free: 2.016 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002243/0.1563, allocations: 142.3 kB / 0.6374 GB, free: 1.852 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.1563, allocations: 12.31 kB / 0.6374 GB, free: 1.84 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.1563, allocations: 4.375 kB / 0.6374 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002998/0.1566, allocations: 113.9 kB / 0.6375 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.1566, allocations: 0 / 0.6375 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.1566, allocations: 0 / 0.6375 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.781e-05/0.1567, allocations: 4 kB / 0.6375 GB, free: 1.715 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003355/0.157, allocations: 87.91 kB / 0.6376 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005827/0.1576, allocations: 280.3 kB / 0.6379 GB, free: 1.324 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003013/0.1579, allocations: 86.52 kB / 0.6379 GB, free: 1.23 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001745/0.158, allocations: 52.88 kB / 0.638 GB, free: 1.176 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.1581, allocations: 8 kB / 0.638 GB, free: 1.168 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002844/0.1583, allocations: 115.2 kB / 0.6381 GB, free: 1.043 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.1583, allocations: 0 / 0.6381 GB, free: 1.043 MB / 0.5919 GB Notification: Performance of matching and sorting (n=9): time 0.0006719/0.159, allocations: 205.6 kB / 0.6383 GB, free: 0.8359 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.1591, allocations: 55.34 kB / 0.6384 GB, free: 0.7695 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.1592, allocations: 157.3 kB / 0.6385 GB, free: 0.6094 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.1592, allocations: 25.98 kB / 0.6385 GB, free: 0.5781 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 7.341e-05/0.1593, allocations: 107.9 kB / 0.6386 GB, free: 480 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.42e-05/0.1593, allocations: 27.75 kB / 0.6387 GB, free: 452 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.675e-05/0.1594, allocations: 33.64 kB / 0.6387 GB, free: 412 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.1595, allocations: 326.8 kB / 0.639 GB, free: 76 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002313/0.1598, allocations: 81.7 kB / 0.6391 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000199/0.16, allocations: 89.72 kB / 0.6392 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003727/0.1603, allocations: 146.4 kB / 0.6393 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1603, allocations: 0 / 0.6393 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004918/0.1608, allocations: 228.9 kB / 0.6395 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.403e-05/0.1609, allocations: 37.69 kB / 0.6396 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.1609, allocations: 4 kB / 0.6396 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.1609, allocations: 4 kB / 0.6396 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.161, allocations: 15.98 kB / 0.6396 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.828e-06/0.161, allocations: 0 / 0.6396 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.1612, allocations: 23.92 kB / 0.6396 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.1612, allocations: 3.938 kB / 0.6396 GB, free: 15.41 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 1 * Algorithm blocks: 1 * 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.0001048/0.1613, allocations: 121.8 kB / 0.6397 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.954e-05/0.1613, allocations: 7.953 kB / 0.6397 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.82e-05/0.1613, allocations: 28.7 kB / 0.6398 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.1613, allocations: 0 / 0.6398 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1613, allocations: 8 kB / 0.6398 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.1614, allocations: 0 / 0.6398 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/0.1615, allocations: 137.2 kB / 0.6399 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1615, allocations: 0 / 0.6399 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.1616, allocations: 15.98 kB / 0.6399 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1616, allocations: 3.938 kB / 0.6399 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.1616, allocations: 4 kB / 0.6399 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.544e-06/0.1616, allocations: 7.984 kB / 0.6399 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1616, allocations: 7.984 kB / 0.6399 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004487/0.1621, allocations: 180.9 kB / 0.6401 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.163e-05/0.1621, allocations: 11.89 kB / 0.6401 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.1621, allocations: 0 / 0.6401 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.1623, allocations: 20.16 kB / 0.6401 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.248e-05/0.1623, allocations: 11.97 kB / 0.6401 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.1623, allocations: 7.938 kB / 0.6402 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.944e-05/0.1624, allocations: 119.2 kB / 0.6403 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.1624, allocations: 0 / 0.6403 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002315/0.1626, allocations: 32 kB / 0.6403 GB, free: 14.63 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * 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.0001614/0.1628, allocations: 115.2 kB / 0.6404 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005003/0.1633, allocations: 204.9 kB / 0.6406 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1633, allocations: 0 / 0.6406 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002046/0.1635, allocations: 63.95 kB / 0.6407 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/0.1637, allocations: 18.39 kB / 0.6407 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005003/0.1642, allocations: 228.3 kB / 0.6409 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.461e-05/0.1643, allocations: 89.38 kB / 0.641 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.224e-05/0.1644, allocations: 15.98 kB / 0.641 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.153e-05/0.1644, allocations: 16.48 kB / 0.641 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of SimCode: time 2.8e-07/0.1644, allocations: 0 / 0.641 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of Templates: time 0.004175/0.1686, allocations: 1.471 MB / 0.6425 GB, free: 12.38 MB / 0.6075 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.009196492959745] Failed to read output from testmodel.py, exit status != 0: 0.17630955902859569 0.190041744 0.032083774 Calling exit ...