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.001871/0.001871, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002759/0.002759, allocations: 210.9 kB / 22.24 MB, free: 5.242 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.531/1.531, allocations: 230.6 MB / 256 MB, free: 7.797 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.9445/0.9445, allocations: 145 MB / 457.4 MB, free: 15.25 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.002099/0.002099, allocations: 68.06 kB / 0.6331 GB, free: 6.703 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1819, allocations: 87.89 MB / 0.7189 GB, free: 14.83 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.003344/0.1852, allocations: 1.545 MB / 0.7204 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00141/0.1866, allocations: 0.6083 MB / 0.721 GB, free: 12.66 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.173e-05/0.1867, allocations: 3.938 kB / 0.721 GB, free: 12.66 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001233/0.1868, allocations: 7.922 kB / 0.721 GB, free: 12.65 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.178e-05/0.1869, allocations: 23.81 kB / 0.721 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005471/0.1875, allocations: 107.7 kB / 0.7211 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002147/0.1877, allocations: 99.69 kB / 0.7212 GB, free: 12.42 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.1878, allocations: 16.16 kB / 0.7212 GB, free: 12.4 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000196/0.188, allocations: 47.84 kB / 0.7213 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.1881, allocations: 47.81 kB / 0.7213 GB, free: 12.31 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.687e-05/0.1881, allocations: 11.94 kB / 0.7213 GB, free: 12.3 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001905/0.1883, allocations: 91.91 kB / 0.7214 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.692e-05/0.1884, allocations: 15.92 kB / 0.7214 GB, free: 12.19 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.235e-05/0.1884, allocations: 43.78 kB / 0.7215 GB, free: 12.15 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003265/0.1888, allocations: 147.4 kB / 0.7216 GB, free: 12 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1888, allocations: 0 / 0.7216 GB, free: 12 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1888, allocations: 0 / 0.7216 GB, free: 12 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.1888, allocations: 0 / 0.7216 GB, free: 12 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.001013/0.1898, allocations: 387.4 kB / 0.722 GB, free: 11.59 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.738e-05/0.1899, allocations: 8.031 kB / 0.722 GB, free: 11.58 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.726e-05/0.1899, allocations: 42.73 kB / 0.722 GB, free: 11.53 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003229/0.1903, allocations: 28.88 kB / 0.7221 GB, free: 11.5 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003508/0.1906, allocations: 142.3 kB / 0.7222 GB, free: 11.34 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/0.1906, allocations: 12.31 kB / 0.7222 GB, free: 11.33 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.08e-05/0.1907, allocations: 4.375 kB / 0.7222 GB, free: 11.32 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003267/0.191, allocations: 101.7 kB / 0.7223 GB, free: 11.22 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.527e-06/0.191, allocations: 0 / 0.7223 GB, free: 11.22 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.191, allocations: 4 kB / 0.7223 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.986e-05/0.191, allocations: 7.984 kB / 0.7223 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003247/0.1914, allocations: 87.92 kB / 0.7224 GB, free: 11.12 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007428/0.1921, allocations: 307.7 kB / 0.7227 GB, free: 10.78 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003203/0.1924, allocations: 82.52 kB / 0.7228 GB, free: 10.69 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001918/0.1926, allocations: 64.88 kB / 0.7228 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.1926, allocations: 0 / 0.7228 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000328/0.193, allocations: 119.3 kB / 0.723 GB, free: 10.49 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 2.575e-06/0.193, allocations: 0 / 0.723 GB, free: 10.49 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0007579/0.1937, allocations: 205.5 kB / 0.7232 GB, free: 10.29 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.1938, allocations: 55.34 kB / 0.7232 GB, free: 10.22 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.1939, allocations: 147.1 kB / 0.7234 GB, free: 10.07 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.1939, allocations: 25.7 kB / 0.7234 GB, free: 10.04 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.93e-05/0.194, allocations: 104.5 kB / 0.7235 GB, free: 9.93 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.563e-05/0.1941, allocations: 35.67 kB / 0.7235 GB, free: 9.895 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.012e-05/0.1941, allocations: 25.7 kB / 0.7235 GB, free: 9.863 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.1943, allocations: 322.8 kB / 0.7238 GB, free: 9.539 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002868/0.1946, allocations: 89.66 kB / 0.7239 GB, free: 9.445 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001966/0.1948, allocations: 81.66 kB / 0.724 GB, free: 9.359 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003632/0.1951, allocations: 150.5 kB / 0.7241 GB, free: 9.203 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1951, allocations: 0 / 0.7241 GB, free: 9.203 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004932/0.1956, allocations: 232.9 kB / 0.7244 GB, free: 8.957 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.528e-05/0.1957, allocations: 35.58 kB / 0.7244 GB, free: 8.918 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.1957, allocations: 0 / 0.7244 GB, free: 8.918 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.1957, allocations: 3.984 kB / 0.7244 GB, free: 8.914 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.1958, allocations: 15.98 kB / 0.7244 GB, free: 8.898 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.168e-06/0.1958, allocations: 3.938 kB / 0.7244 GB, free: 8.895 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.196, allocations: 19.94 kB / 0.7244 GB, free: 8.875 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.196, allocations: 7.984 kB / 0.7245 GB, free: 8.867 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.0001168/0.1961, allocations: 125.8 kB / 0.7246 GB, free: 8.734 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.1961, allocations: 11.89 kB / 0.7246 GB, free: 8.723 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.395e-05/0.1962, allocations: 20.64 kB / 0.7246 GB, free: 8.695 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/0.1962, allocations: 4 kB / 0.7246 GB, free: 8.691 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.1962, allocations: 3.938 kB / 0.7246 GB, free: 8.688 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1962, allocations: 0 / 0.7246 GB, free: 8.688 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/0.1964, allocations: 156.7 kB / 0.7248 GB, free: 8.492 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.1964, allocations: 0 / 0.7248 GB, free: 8.492 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.1965, allocations: 19.98 kB / 0.7248 GB, free: 8.473 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.614e-06/0.1965, allocations: 4 kB / 0.7248 GB, free: 8.469 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.1965, allocations: 3.984 kB / 0.7248 GB, free: 8.465 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1965, allocations: 0 / 0.7248 GB, free: 8.465 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.1965, allocations: 3.938 kB / 0.7248 GB, free: 8.461 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000465/0.197, allocations: 192.9 kB / 0.725 GB, free: 8.254 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.445e-05/0.197, allocations: 7.953 kB / 0.725 GB, free: 8.246 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.1971, allocations: 0 / 0.725 GB, free: 8.246 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.1972, allocations: 19.97 kB / 0.725 GB, free: 8.227 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.343e-05/0.1972, allocations: 20.09 kB / 0.725 GB, free: 8.207 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.1973, allocations: 4 kB / 0.725 GB, free: 8.203 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.416e-05/0.1973, allocations: 112.7 kB / 0.7251 GB, free: 8.094 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1973, allocations: 0 / 0.7251 GB, free: 8.094 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00029/0.1976, allocations: 39.94 kB / 0.7252 GB, free: 8.055 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.0008556/0.1985, allocations: 0.7372 MB / 0.7259 GB, free: 7.289 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000497/0.199, allocations: 208.9 kB / 0.7261 GB, free: 7.066 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.199, allocations: 0 / 0.7261 GB, free: 7.066 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002011/0.1992, allocations: 59.94 kB / 0.7261 GB, free: 7.008 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002149/0.1994, allocations: 15.19 kB / 0.7262 GB, free: 6.996 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002663/0.2021, allocations: 1.847 MB / 0.728 GB, free: 5.039 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.127e-05/0.2022, allocations: 92.16 kB / 0.7281 GB, free: 4.934 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.385e-05/0.2022, allocations: 11.98 kB / 0.7281 GB, free: 4.922 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.051e-05/0.2023, allocations: 31.42 kB / 0.7281 GB, free: 4.891 MB / 0.545 GB Notification: Performance of SimCode: time 4.61e-07/0.2023, allocations: 0 / 0.7281 GB, free: 4.891 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03296/0.2353, allocations: 3.389 MB / 0.7314 GB, free: 1.656 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.07, allocations: 9.5 kB / 0.7314 GB, free: 1.652 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: 15.07968169497326] Failed to read output from testmodel.py, exit status != 0: 11.177137459162623 11.204596859 11.010661944 Calling exit ...