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.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.001941/0.001941, allocations: 111.2 kB / 16.41 MB, free: 6.512 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.001943/0.001943, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.584/1.584, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.6.0-master/package.mo): time 0.9752/0.9752, allocations: 143.3 MB / 440.5 MB, free: 11.24 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.6.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: "" <> 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: Performance of FrontEnd - loaded program: time 0.002746/0.002746, allocations: 68.52 kB / 0.6038 GB, free: 11.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2022/0.2049, allocations: 82.03 MB / 0.6839 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.003311/0.2083, allocations: 1.556 MB / 0.6854 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001263/0.2096, allocations: 0.5726 MB / 0.686 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.068e-05/0.2097, allocations: 0 / 0.686 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001599/0.2099, allocations: 11.88 kB / 0.686 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.535e-05/0.2099, allocations: 23.78 kB / 0.686 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004033/0.2104, allocations: 83.77 kB / 0.6861 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001603/0.2105, allocations: 95.7 kB / 0.6862 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.2107, allocations: 32.2 kB / 0.6862 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.2108, allocations: 43.78 kB / 0.6862 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.2109, allocations: 47.83 kB / 0.6863 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.103e-05/0.2109, allocations: 4 kB / 0.6863 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001956/0.2111, allocations: 91.84 kB / 0.6864 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.746e-05/0.2112, allocations: 23.91 kB / 0.6864 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.353e-05/0.2113, allocations: 39.73 kB / 0.6864 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000245/0.2115, allocations: 131.8 kB / 0.6866 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.2116, allocations: 7.938 kB / 0.6866 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.863e-06/0.2116, allocations: 3.938 kB / 0.6866 GB, free: 6.977 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.213e-06/0.2116, allocations: 4 kB / 0.6866 GB, free: 6.973 MB / 0.5137 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.0009697/0.2125, allocations: 456.6 kB / 0.687 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.814e-05/0.2126, allocations: 8.031 kB / 0.687 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.279e-05/0.2127, allocations: 38.73 kB / 0.6871 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.599e-05/0.2127, allocations: 12.89 kB / 0.6871 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.213, allocations: 196.2 kB / 0.6873 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/0.213, allocations: 384 / 0.6873 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.213, allocations: 4.375 kB / 0.6873 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003305/0.2133, allocations: 113.7 kB / 0.6874 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.2134, allocations: 0 / 0.6874 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.2134, allocations: 0 / 0.6874 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.141e-05/0.2134, allocations: 4 kB / 0.6874 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003613/0.2138, allocations: 95.91 kB / 0.6875 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008247/0.2146, allocations: 340.7 kB / 0.6878 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000337/0.2149, allocations: 98.44 kB / 0.6879 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001932/0.2152, allocations: 60.88 kB / 0.6879 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.2152, allocations: 0 / 0.6879 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003506/0.2155, allocations: 115.3 kB / 0.6881 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.2155, allocations: 0 / 0.6881 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0007327/0.2163, allocations: 201.6 kB / 0.6882 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/0.2163, allocations: 63.34 kB / 0.6883 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.2165, allocations: 147.7 kB / 0.6884 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.2165, allocations: 25.7 kB / 0.6885 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.026e-05/0.2166, allocations: 108 kB / 0.6886 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.2167, allocations: 23.88 kB / 0.6886 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.339e-05/0.2167, allocations: 33.69 kB / 0.6886 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002256/0.217, allocations: 326.8 kB / 0.6889 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002033/0.2172, allocations: 59.89 kB / 0.689 GB, free: 4.262 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000184/0.2174, allocations: 55.95 kB / 0.689 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003884/0.2178, allocations: 146.5 kB / 0.6892 GB, free: 4.055 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2178, allocations: 0 / 0.6892 GB, free: 4.055 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000494/0.2183, allocations: 203.2 kB / 0.6894 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.542e-05/0.2183, allocations: 33.7 kB / 0.6894 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.841e-05/0.2184, allocations: 0 / 0.6894 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.2184, allocations: 4 kB / 0.6894 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.2186, allocations: 19.97 kB / 0.6894 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.2186, allocations: 3.938 kB / 0.6894 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/0.2187, allocations: 19.98 kB / 0.6895 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/0.2187, allocations: 7.922 kB / 0.6895 GB, free: 3.75 MB / 0.5137 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.0001349/0.2189, allocations: 126.7 kB / 0.6896 GB, free: 3.617 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.269e-05/0.2189, allocations: 7.953 kB / 0.6896 GB, free: 3.609 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.986e-05/0.219, allocations: 20.72 kB / 0.6896 GB, free: 3.586 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.802e-05/0.219, allocations: 4 kB / 0.6896 GB, free: 3.582 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.219, allocations: 4 kB / 0.6896 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.219, allocations: 4.453 kB / 0.6896 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.2193, allocations: 193.5 kB / 0.6898 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2193, allocations: 0 / 0.6898 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.2194, allocations: 23.91 kB / 0.6898 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2194, allocations: 0 / 0.6898 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.2194, allocations: 11.92 kB / 0.6898 GB, free: 3.301 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.2194, allocations: 0 / 0.6898 GB, free: 3.301 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2194, allocations: 4 kB / 0.6899 GB, free: 3.297 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000472/0.2199, allocations: 180.9 kB / 0.69 GB, free: 3.102 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.89e-05/0.22, allocations: 89 kB / 0.6901 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.22, allocations: 0 / 0.6901 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.2202, allocations: 15.97 kB / 0.6901 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.403e-05/0.2202, allocations: 19.92 kB / 0.6901 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.397e-06/0.2203, allocations: 4 kB / 0.6901 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.727e-05/0.2203, allocations: 114.1 kB / 0.6903 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2204, allocations: 0 / 0.6903 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002577/0.2206, allocations: 36 kB / 0.6903 GB, free: 2.812 MB / 0.5137 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.0009214/0.2215, allocations: 0.7372 MB / 0.691 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005198/0.2221, allocations: 183.3 kB / 0.6912 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2221, allocations: 0 / 0.6912 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002273/0.2223, allocations: 67.89 kB / 0.6912 GB, free: 1.789 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.2226, allocations: 7.984 kB / 0.6913 GB, free: 1.781 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002663/0.2252, allocations: 1.722 MB / 0.6929 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.2256, allocations: 0.7002 MB / 0.6936 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.59e-05/0.2257, allocations: 11.98 kB / 0.6936 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.349e-05/0.2258, allocations: 31.42 kB / 0.6937 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of SimCode: time 2.91e-07/0.2258, allocations: 4 kB / 0.6937 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02593/0.2517, allocations: 2.758 MB / 0.6964 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.718/8.97, allocations: 6.594 kB / 0.6964 GB, free: 12.54 MB / 0.5294 GB " [Timeout remaining time 651] (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: 13.1045961889904] Failed to read output from testmodel.py, exit status != 0: 9.041523316991515 9.069517223 8.852921407 Calling exit ...