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.001351/0.001351, allocations: 101.9 kB / 19.73 MB, free: 1.992 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.001417/0.001417, allocations: 214.9 kB / 23.03 MB, free: 4.426 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.436/1.436, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.9059/0.9059, allocations: 145 MB / 458.2 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_SignalRanker",fmuType="cs",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.001939/0.001939, allocations: 67.2 kB / 0.6338 GB, free: 6.66 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.174, allocations: 87.89 MB / 0.7197 GB, free: 14.79 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.002731/0.1767, allocations: 1.537 MB / 0.7212 GB, free: 13.23 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001107/0.1778, allocations: 0.6083 MB / 0.7218 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.617e-05/0.1779, allocations: 3.938 kB / 0.7218 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001002/0.178, allocations: 3.938 kB / 0.7218 GB, free: 12.61 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.693e-05/0.1781, allocations: 19.8 kB / 0.7218 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004406/0.1785, allocations: 119.7 kB / 0.7219 GB, free: 12.48 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001613/0.1787, allocations: 91.64 kB / 0.722 GB, free: 12.39 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.1788, allocations: 16.22 kB / 0.722 GB, free: 12.37 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001687/0.1789, allocations: 59.77 kB / 0.7221 GB, free: 12.31 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.261e-05/0.179, allocations: 43.84 kB / 0.7221 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.1791, allocations: 4 kB / 0.7221 GB, free: 12.26 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001534/0.1792, allocations: 95.91 kB / 0.7222 GB, free: 12.17 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.17e-05/0.1793, allocations: 19.92 kB / 0.7222 GB, free: 12.15 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.833e-05/0.1793, allocations: 39.77 kB / 0.7222 GB, free: 12.11 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.1795, allocations: 155.4 kB / 0.7224 GB, free: 11.96 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1796, allocations: 0 / 0.7224 GB, free: 11.96 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1796, allocations: 3.938 kB / 0.7224 GB, free: 11.95 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.1796, allocations: 0 / 0.7224 GB, free: 11.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.0007522/0.1803, allocations: 379.5 kB / 0.7228 GB, free: 11.55 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.1803, allocations: 12.03 kB / 0.7228 GB, free: 11.54 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.387e-05/0.1804, allocations: 192 / 0.7228 GB, free: 11.54 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.702e-05/0.1804, allocations: 38.75 kB / 0.7228 GB, free: 11.49 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000266/0.1807, allocations: 32.86 kB / 0.7228 GB, free: 11.46 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002262/0.1809, allocations: 148.3 kB / 0.723 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.1809, allocations: 8.312 kB / 0.723 GB, free: 11.28 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.1809, allocations: 8.375 kB / 0.723 GB, free: 11.27 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000303/0.1812, allocations: 101.5 kB / 0.7231 GB, free: 11.17 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.1812, allocations: 4 kB / 0.7231 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.1813, allocations: 4 kB / 0.7231 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.974e-05/0.1813, allocations: 4 kB / 0.7231 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003298/0.1816, allocations: 91.91 kB / 0.7232 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006159/0.1822, allocations: 307.7 kB / 0.7235 GB, free: 10.72 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003071/0.1825, allocations: 86.5 kB / 0.7236 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001781/0.1827, allocations: 68.86 kB / 0.7236 GB, free: 10.56 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.1827, allocations: 0 / 0.7236 GB, free: 10.56 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002896/0.183, allocations: 115.3 kB / 0.7237 GB, free: 10.43 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.183, allocations: 0 / 0.7237 GB, free: 10.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0006266/0.1836, allocations: 201.5 kB / 0.7239 GB, free: 10.23 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.1837, allocations: 59.34 kB / 0.724 GB, free: 10.16 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.1838, allocations: 144.2 kB / 0.7241 GB, free: 10.01 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.1838, allocations: 25.7 kB / 0.7242 GB, free: 9.98 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.375e-05/0.1839, allocations: 108.1 kB / 0.7243 GB, free: 9.871 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.1839, allocations: 31.73 kB / 0.7243 GB, free: 9.84 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.836e-05/0.184, allocations: 26.06 kB / 0.7243 GB, free: 9.809 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.1841, allocations: 318.8 kB / 0.7246 GB, free: 9.488 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002053/0.1843, allocations: 93.64 kB / 0.7247 GB, free: 9.391 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001868/0.1845, allocations: 89.53 kB / 0.7248 GB, free: 9.297 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003379/0.1849, allocations: 150.5 kB / 0.7249 GB, free: 9.141 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1849, allocations: 0 / 0.7249 GB, free: 9.141 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004858/0.1853, allocations: 228.9 kB / 0.7252 GB, free: 8.898 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.716e-05/0.1854, allocations: 33.7 kB / 0.7252 GB, free: 8.859 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.1854, allocations: 0 / 0.7252 GB, free: 8.859 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.1854, allocations: 0 / 0.7252 GB, free: 8.859 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.1855, allocations: 19.97 kB / 0.7252 GB, free: 8.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.1856, allocations: 3.938 kB / 0.7252 GB, free: 8.836 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/0.1857, allocations: 19.94 kB / 0.7252 GB, free: 8.816 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.1857, allocations: 4 kB / 0.7252 GB, free: 8.812 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.0001071/0.1858, allocations: 129.8 kB / 0.7254 GB, free: 8.676 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.12e-05/0.1858, allocations: 7.953 kB / 0.7254 GB, free: 8.668 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.822e-05/0.1859, allocations: 16.66 kB / 0.7254 GB, free: 8.645 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/0.1859, allocations: 4 kB / 0.7254 GB, free: 8.641 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.1859, allocations: 7.922 kB / 0.7254 GB, free: 8.633 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1859, allocations: 0 / 0.7254 GB, free: 8.633 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001658/0.1861, allocations: 152.7 kB / 0.7255 GB, free: 8.441 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1861, allocations: 0 / 0.7255 GB, free: 8.441 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.1862, allocations: 19.97 kB / 0.7256 GB, free: 8.422 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1862, allocations: 4 kB / 0.7256 GB, free: 8.418 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.1862, allocations: 0 / 0.7256 GB, free: 8.418 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1862, allocations: 0 / 0.7256 GB, free: 8.418 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1862, allocations: 7.875 kB / 0.7256 GB, free: 8.41 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004292/0.1866, allocations: 192.9 kB / 0.7257 GB, free: 8.203 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.786e-05/0.1866, allocations: 7.953 kB / 0.7258 GB, free: 8.195 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.1867, allocations: 3.984 kB / 0.7258 GB, free: 8.191 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.1868, allocations: 19.98 kB / 0.7258 GB, free: 8.172 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.602e-05/0.1868, allocations: 15.92 kB / 0.7258 GB, free: 8.156 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.1869, allocations: 7.984 kB / 0.7258 GB, free: 8.148 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.709e-05/0.1869, allocations: 106.8 kB / 0.7259 GB, free: 8.047 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1869, allocations: 0 / 0.7259 GB, free: 8.047 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002477/0.1872, allocations: 43.88 kB / 0.7259 GB, free: 8.004 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.0007891/0.188, allocations: 0.7334 MB / 0.7267 GB, free: 7.242 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004677/0.1884, allocations: 212.9 kB / 0.7269 GB, free: 7.016 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1884, allocations: 0 / 0.7269 GB, free: 7.016 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001913/0.1886, allocations: 55.95 kB / 0.7269 GB, free: 6.961 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002213/0.1888, allocations: 13.86 kB / 0.7269 GB, free: 6.949 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002484/0.1913, allocations: 1.843 MB / 0.7287 GB, free: 4.996 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.349e-05/0.1914, allocations: 89.31 kB / 0.7288 GB, free: 4.891 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.958e-05/0.1915, allocations: 11.98 kB / 0.7288 GB, free: 4.879 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.554e-05/0.1916, allocations: 35.41 kB / 0.7289 GB, free: 4.844 MB / 0.545 GB Notification: Performance of SimCode: time 4.41e-07/0.1916, allocations: 3.938 kB / 0.7289 GB, free: 4.84 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02248/0.214, allocations: 3.047 MB / 0.7318 GB, free: 1.953 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.33, allocations: 4.969 kB / 0.7318 GB, free: 1.953 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_SignalRanker.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.04411838692613] Failed to read output from testmodel.py, exit status != 0: 11.495673213968985 11.518861874 11.335969464 Calling exit ...