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.00171/0.00171, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002147/0.002147, allocations: 210.8 kB / 22.25 MB, free: 5.129 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.479/1.479, allocations: 230.6 MB / 256 MB, free: 7.98 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.9405/0.9405, allocations: 145 MB / 457.4 MB, free: 15.5 MB / 366.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: "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) [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.002005/0.002005, allocations: 66.19 kB / 0.6331 GB, free: 7.332 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1695, allocations: 87.87 MB / 0.719 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.002945/0.1724, allocations: 1.58 MB / 0.7205 GB, free: 13.87 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.1737, allocations: 0.6589 MB / 0.7211 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.432e-05/0.1737, allocations: 8 kB / 0.7211 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000112/0.1738, allocations: 7.875 kB / 0.7212 GB, free: 13.19 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.342e-05/0.1739, allocations: 23.78 kB / 0.7212 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004618/0.1744, allocations: 107.7 kB / 0.7213 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001813/0.1745, allocations: 95.7 kB / 0.7214 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.822e-05/0.1746, allocations: 12.22 kB / 0.7214 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001593/0.1748, allocations: 63.77 kB / 0.7214 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.32e-05/0.1749, allocations: 43.83 kB / 0.7215 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.1749, allocations: 8 kB / 0.7215 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001603/0.1751, allocations: 99.84 kB / 0.7216 GB, free: 12.74 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.448e-05/0.1751, allocations: 27.91 kB / 0.7216 GB, free: 12.71 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.601e-05/0.1752, allocations: 39.73 kB / 0.7217 GB, free: 12.67 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.1754, allocations: 147.4 kB / 0.7218 GB, free: 12.53 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1754, allocations: 0 / 0.7218 GB, free: 12.53 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1754, allocations: 0 / 0.7218 GB, free: 12.53 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.1754, allocations: 0 / 0.7218 GB, free: 12.53 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007868/0.1762, allocations: 391.5 kB / 0.7222 GB, free: 12.11 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.1763, allocations: 8.031 kB / 0.7222 GB, free: 12.1 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.826e-05/0.1763, allocations: 42.73 kB / 0.7222 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002683/0.1766, allocations: 28.86 kB / 0.7222 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/0.1769, allocations: 134.4 kB / 0.7224 GB, free: 11.87 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.1769, allocations: 8.359 kB / 0.7224 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.1769, allocations: 4.375 kB / 0.7224 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003214/0.1772, allocations: 113.7 kB / 0.7225 GB, free: 11.74 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.1772, allocations: 0 / 0.7225 GB, free: 11.74 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.1772, allocations: 0 / 0.7225 GB, free: 11.74 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.428e-05/0.1773, allocations: 7.984 kB / 0.7225 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003299/0.1776, allocations: 91.86 kB / 0.7226 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006869/0.1783, allocations: 327.6 kB / 0.7229 GB, free: 11.28 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000304/0.1786, allocations: 90.44 kB / 0.723 GB, free: 11.18 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/0.1787, allocations: 52.88 kB / 0.723 GB, free: 11.12 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.1788, allocations: 8 kB / 0.723 GB, free: 11.12 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003006/0.1791, allocations: 107.3 kB / 0.7231 GB, free: 11 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.1791, allocations: 0 / 0.7231 GB, free: 11 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0006763/0.1797, allocations: 213.4 kB / 0.7234 GB, free: 10.79 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.1798, allocations: 51.41 kB / 0.7234 GB, free: 10.72 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.1799, allocations: 148.2 kB / 0.7235 GB, free: 10.57 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.1799, allocations: 25.7 kB / 0.7236 GB, free: 10.54 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.432e-05/0.18, allocations: 100.1 kB / 0.7237 GB, free: 10.44 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.307e-05/0.18, allocations: 35.8 kB / 0.7237 GB, free: 10.4 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.053e-05/0.1801, allocations: 33.64 kB / 0.7237 GB, free: 10.36 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.1803, allocations: 326.8 kB / 0.724 GB, free: 10.04 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/0.1804, allocations: 51.95 kB / 0.7241 GB, free: 9.984 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000176/0.1806, allocations: 55.95 kB / 0.7241 GB, free: 9.93 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003598/0.181, allocations: 146.5 kB / 0.7243 GB, free: 9.777 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.181, allocations: 4 kB / 0.7243 GB, free: 9.773 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004628/0.1814, allocations: 207.2 kB / 0.7245 GB, free: 9.559 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.185e-05/0.1815, allocations: 29.7 kB / 0.7245 GB, free: 9.523 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.1815, allocations: 0 / 0.7245 GB, free: 9.523 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.1815, allocations: 4 kB / 0.7245 GB, free: 9.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.1817, allocations: 19.97 kB / 0.7245 GB, free: 9.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.1817, allocations: 3.938 kB / 0.7245 GB, free: 9.496 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.1818, allocations: 23.94 kB / 0.7246 GB, free: 9.473 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.1818, allocations: 4 kB / 0.7246 GB, free: 9.469 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: 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.0001028/0.1819, allocations: 122.3 kB / 0.7247 GB, free: 9.34 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.124e-05/0.1819, allocations: 7.953 kB / 0.7247 GB, free: 9.332 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.401e-05/0.182, allocations: 8.719 kB / 0.7247 GB, free: 9.32 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.62e-05/0.182, allocations: 8 kB / 0.7247 GB, free: 9.312 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.182, allocations: 3.938 kB / 0.7247 GB, free: 9.309 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.182, allocations: 11.92 kB / 0.7247 GB, free: 9.297 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.1822, allocations: 168.6 kB / 0.7249 GB, free: 9.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1822, allocations: 0 / 0.7249 GB, free: 9.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.1823, allocations: 23.91 kB / 0.7249 GB, free: 9.066 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1823, allocations: 0 / 0.7249 GB, free: 9.066 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-06/0.1823, allocations: 0 / 0.7249 GB, free: 9.066 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1823, allocations: 4 kB / 0.7249 GB, free: 9.062 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.716e-06/0.1823, allocations: 3.938 kB / 0.7249 GB, free: 9.059 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000433/0.1827, allocations: 184.9 kB / 0.7251 GB, free: 8.859 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.831e-05/0.1828, allocations: 7.953 kB / 0.7251 GB, free: 8.852 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.1828, allocations: 3.938 kB / 0.7251 GB, free: 8.848 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.1829, allocations: 15.97 kB / 0.7251 GB, free: 8.832 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.815e-05/0.183, allocations: 15.92 kB / 0.7251 GB, free: 8.816 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.183, allocations: 7.984 kB / 0.7251 GB, free: 8.809 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.614e-05/0.183, allocations: 107.8 kB / 0.7252 GB, free: 8.703 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.183, allocations: 0 / 0.7252 GB, free: 8.703 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000261/0.1833, allocations: 39.94 kB / 0.7253 GB, free: 8.664 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: 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.0008201/0.1841, allocations: 0.7372 MB / 0.726 GB, free: 7.898 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004711/0.1846, allocations: 171.3 kB / 0.7262 GB, free: 7.719 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1846, allocations: 4 kB / 0.7262 GB, free: 7.715 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002048/0.1848, allocations: 59.89 kB / 0.7262 GB, free: 7.656 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.185, allocations: 20.06 kB / 0.7262 GB, free: 7.637 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002484/0.1875, allocations: 1.731 MB / 0.7279 GB, free: 5.82 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.1878, allocations: 0.7062 MB / 0.7286 GB, free: 5.09 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.634e-05/0.1879, allocations: 11.98 kB / 0.7286 GB, free: 5.078 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.329e-05/0.188, allocations: 31.42 kB / 0.7287 GB, free: 5.047 MB / 0.545 GB Notification: Performance of SimCode: time 4.11e-07/0.188, allocations: 0 / 0.7287 GB, free: 5.047 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02847/0.2164, allocations: 2.979 MB / 0.7316 GB, free: 2.203 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.04, allocations: 11.91 kB / 0.7316 GB, free: 2.199 MB / 0.545 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_SignalRanker.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.835977031998482] Failed to read output from testmodel.py, exit status != 0: 11.146890261999943 11.170910859 10.99209155 Calling exit ...