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.001588/0.001588, allocations: 107.6 kB / 16.45 MB, free: 6.453 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.00194/0.00194, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.508/1.508, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.9421/0.9421, allocations: 145 MB / 453.8 MB, free: 0.707 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: "" <> 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.001937/0.001937, allocations: 66.31 kB / 0.628 GB, free: 10.68 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1762, allocations: 87.83 MB / 0.7138 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.003056/0.1792, allocations: 1.563 MB / 0.7153 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00125/0.1805, allocations: 0.6513 MB / 0.7159 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.23e-05/0.1805, allocations: 3.938 kB / 0.7159 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001152/0.1807, allocations: 7.875 kB / 0.7159 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.538e-05/0.1807, allocations: 19.8 kB / 0.716 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004151/0.1811, allocations: 103.7 kB / 0.7161 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.1813, allocations: 103.6 kB / 0.7162 GB, free: 404 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.1815, allocations: 20.5 kB / 0.7162 GB, free: 380 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/0.1816, allocations: 59.77 kB / 0.7162 GB, free: 320 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.926e-05/0.1817, allocations: 43.83 kB / 0.7163 GB, free: 276 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.1818, allocations: 4 kB / 0.7163 GB, free: 272 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001663/0.1819, allocations: 103.8 kB / 0.7164 GB, free: 168 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.154e-05/0.182, allocations: 19.91 kB / 0.7164 GB, free: 148 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.798e-05/0.182, allocations: 35.8 kB / 0.7164 GB, free: 112 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002643/0.1823, allocations: 159.3 kB / 0.7166 GB, free: 15.95 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.1823, allocations: 8 kB / 0.7166 GB, free: 15.95 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.334e-06/0.1823, allocations: 0 / 0.7166 GB, free: 15.95 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.1823, allocations: 0 / 0.7166 GB, free: 15.95 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.000902/0.1832, allocations: 458.6 kB / 0.717 GB, free: 15.45 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.1833, allocations: 8.031 kB / 0.717 GB, free: 15.44 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.767e-05/0.1833, allocations: 42.73 kB / 0.7171 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002726/0.1836, allocations: 36.86 kB / 0.7171 GB, free: 15.35 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002691/0.1838, allocations: 196.1 kB / 0.7173 GB, free: 15.12 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-06/0.1839, allocations: 8.312 kB / 0.7173 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.1839, allocations: 4.375 kB / 0.7173 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003181/0.1842, allocations: 105.7 kB / 0.7174 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.1842, allocations: 0 / 0.7174 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.1842, allocations: 3.984 kB / 0.7174 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.977e-05/0.1842, allocations: 4 kB / 0.7174 GB, free: 14.99 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003483/0.1846, allocations: 99.84 kB / 0.7175 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000752/0.1853, allocations: 348.6 kB / 0.7178 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003322/0.1857, allocations: 90.5 kB / 0.7179 GB, free: 14.41 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002055/0.1859, allocations: 56.81 kB / 0.718 GB, free: 14.35 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.1859, allocations: 4 kB / 0.718 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000303/0.1862, allocations: 107.3 kB / 0.7181 GB, free: 14.23 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.1862, allocations: 4 kB / 0.7181 GB, free: 14.22 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0007068/0.1869, allocations: 209.4 kB / 0.7183 GB, free: 14.01 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.1869, allocations: 51.41 kB / 0.7183 GB, free: 13.95 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.1871, allocations: 143.3 kB / 0.7185 GB, free: 13.8 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.1871, allocations: 29.7 kB / 0.7185 GB, free: 13.77 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.299e-05/0.1872, allocations: 108 kB / 0.7186 GB, free: 13.66 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.1872, allocations: 31.86 kB / 0.7186 GB, free: 13.62 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.612e-05/0.1873, allocations: 25.7 kB / 0.7187 GB, free: 13.59 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.1874, allocations: 326.8 kB / 0.719 GB, free: 13.27 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/0.1876, allocations: 51.95 kB / 0.719 GB, free: 13.21 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001936/0.1878, allocations: 59.95 kB / 0.7191 GB, free: 13.16 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000393/0.1882, allocations: 146.5 kB / 0.7192 GB, free: 13 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1882, allocations: 0 / 0.7192 GB, free: 13 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005036/0.1887, allocations: 203.7 kB / 0.7194 GB, free: 12.79 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.56e-05/0.1888, allocations: 35.73 kB / 0.7195 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.1888, allocations: 0 / 0.7195 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.1888, allocations: 4.094 kB / 0.7195 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.1889, allocations: 23.91 kB / 0.7195 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/0.1889, allocations: 7.875 kB / 0.7195 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.1891, allocations: 19.88 kB / 0.7195 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/0.1891, allocations: 8 kB / 0.7195 GB, free: 12.69 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.0001165/0.1892, allocations: 125.8 kB / 0.7196 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.15e-05/0.1892, allocations: 7.953 kB / 0.7196 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.31e-05/0.1893, allocations: 8.719 kB / 0.7196 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.435e-05/0.1893, allocations: 4 kB / 0.7197 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1893, allocations: 3.938 kB / 0.7197 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.1893, allocations: 3.984 kB / 0.7197 GB, free: 12.53 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002023/0.1895, allocations: 201.6 kB / 0.7199 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.1895, allocations: 0 / 0.7199 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.1896, allocations: 19.97 kB / 0.7199 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1896, allocations: 0 / 0.7199 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.1897, allocations: 4 kB / 0.7199 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1897, allocations: 0 / 0.7199 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1897, allocations: 7.938 kB / 0.7199 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004756/0.1901, allocations: 180.9 kB / 0.7201 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.216e-05/0.1902, allocations: 85.06 kB / 0.7201 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.464e-05/0.1902, allocations: 11.98 kB / 0.7201 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.1903, allocations: 11.98 kB / 0.7202 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.003e-05/0.1904, allocations: 15.92 kB / 0.7202 GB, free: 11.92 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.1904, allocations: 4 kB / 0.7202 GB, free: 11.91 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.569e-05/0.1905, allocations: 110.2 kB / 0.7203 GB, free: 11.81 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1905, allocations: 0 / 0.7203 GB, free: 11.81 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002529/0.1908, allocations: 35.94 kB / 0.7203 GB, free: 11.77 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.0008924/0.1917, allocations: 0.7411 MB / 0.721 GB, free: 11 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005118/0.1922, allocations: 183.2 kB / 0.7212 GB, free: 10.81 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1922, allocations: 0 / 0.7212 GB, free: 10.81 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002273/0.1924, allocations: 63.88 kB / 0.7213 GB, free: 10.75 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.1926, allocations: 11.94 kB / 0.7213 GB, free: 10.74 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002664/0.1953, allocations: 1.726 MB / 0.723 GB, free: 8.922 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.1956, allocations: 0.7031 MB / 0.7237 GB, free: 8.195 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.071e-05/0.1957, allocations: 19.97 kB / 0.7237 GB, free: 8.176 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.257e-05/0.1958, allocations: 31.42 kB / 0.7237 GB, free: 8.145 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.1958, allocations: 0 / 0.7237 GB, free: 8.145 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02578/0.2216, allocations: 2.826 MB / 0.7265 GB, free: 5.422 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.95/8.171, allocations: 1.875 kB / 0.7265 GB, free: 5.422 MB / 0.545 GB " [Timeout remaining time 652] (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: 11.976779174001422] Failed to read output from testmodel.py, exit status != 0: 8.242567330002203 8.268009796 8.080782568 Calling exit ...