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.001507/0.001507, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001848/0.001848, allocations: 218.2 kB / 23.04 MB, free: 5.074 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.435/1.435, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.9274/0.9274, allocations: 145 MB / 458.2 MB, free: 15.51 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.001986/0.001986, allocations: 70.17 kB / 0.6339 GB, free: 7.316 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1781, allocations: 87.88 MB / 0.7197 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.002772/0.1809, allocations: 1.58 MB / 0.7213 GB, free: 13.85 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.182, allocations: 0.6666 MB / 0.7219 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.895e-05/0.1821, allocations: 4 kB / 0.7219 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.295e-05/0.1822, allocations: 7.875 kB / 0.7219 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.138e-05/0.1822, allocations: 23.78 kB / 0.722 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004106/0.1826, allocations: 103.8 kB / 0.7221 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001558/0.1828, allocations: 103.6 kB / 0.7222 GB, free: 12.94 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.192e-05/0.1829, allocations: 8.234 kB / 0.7222 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001631/0.183, allocations: 59.77 kB / 0.7222 GB, free: 12.87 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.388e-05/0.1831, allocations: 47.83 kB / 0.7223 GB, free: 12.82 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.1831, allocations: 12 kB / 0.7223 GB, free: 12.81 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001601/0.1833, allocations: 103.8 kB / 0.7224 GB, free: 12.71 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.932e-05/0.1833, allocations: 19.92 kB / 0.7224 GB, free: 12.69 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.115e-05/0.1834, allocations: 39.73 kB / 0.7224 GB, free: 12.65 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002264/0.1836, allocations: 151.5 kB / 0.7226 GB, free: 12.5 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1836, allocations: 0 / 0.7226 GB, free: 12.5 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1836, allocations: 0 / 0.7226 GB, free: 12.5 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.1836, allocations: 0 / 0.7226 GB, free: 12.5 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.0007679/0.1844, allocations: 387.4 kB / 0.7229 GB, free: 12.09 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.1845, allocations: 12.03 kB / 0.723 GB, free: 12.08 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.589e-05/0.1845, allocations: 4.188 kB / 0.723 GB, free: 12.07 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.564e-05/0.1845, allocations: 34.75 kB / 0.723 GB, free: 12.03 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002655/0.1848, allocations: 28.86 kB / 0.723 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.185, allocations: 140.2 kB / 0.7232 GB, free: 11.84 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.185, allocations: 8.375 kB / 0.7232 GB, free: 11.84 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.185, allocations: 8.375 kB / 0.7232 GB, free: 11.83 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003167/0.1854, allocations: 113.5 kB / 0.7233 GB, free: 11.71 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.1854, allocations: 0 / 0.7233 GB, free: 11.71 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.1854, allocations: 0 / 0.7233 GB, free: 11.71 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.213e-05/0.1854, allocations: 4 kB / 0.7233 GB, free: 11.71 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000343/0.1857, allocations: 91.84 kB / 0.7234 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006475/0.1864, allocations: 319.7 kB / 0.7237 GB, free: 11.26 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003103/0.1867, allocations: 90.44 kB / 0.7238 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001895/0.1869, allocations: 60.88 kB / 0.7238 GB, free: 11.1 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.1869, allocations: 4 kB / 0.7238 GB, free: 11.1 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003184/0.1872, allocations: 111.3 kB / 0.7239 GB, free: 10.98 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.1872, allocations: 0 / 0.7239 GB, free: 10.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0006812/0.1879, allocations: 213.4 kB / 0.7241 GB, free: 10.76 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.188, allocations: 55.47 kB / 0.7242 GB, free: 10.7 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.1881, allocations: 143.5 kB / 0.7243 GB, free: 10.55 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.1881, allocations: 25.7 kB / 0.7243 GB, free: 10.52 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.303e-05/0.1882, allocations: 104.1 kB / 0.7244 GB, free: 10.41 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.1882, allocations: 27.75 kB / 0.7245 GB, free: 10.38 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-05/0.1883, allocations: 29.7 kB / 0.7245 GB, free: 10.35 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.1884, allocations: 322.8 kB / 0.7248 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/0.1886, allocations: 59.89 kB / 0.7249 GB, free: 9.965 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001787/0.1888, allocations: 59.94 kB / 0.7249 GB, free: 9.906 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003642/0.1892, allocations: 142.5 kB / 0.7251 GB, free: 9.758 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.1892, allocations: 4 kB / 0.7251 GB, free: 9.754 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004834/0.1897, allocations: 203.2 kB / 0.7253 GB, free: 9.543 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.017e-05/0.1897, allocations: 35.72 kB / 0.7253 GB, free: 9.504 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1897, allocations: 0 / 0.7253 GB, free: 9.504 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.1897, allocations: 4 kB / 0.7253 GB, free: 9.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.1899, allocations: 23.97 kB / 0.7253 GB, free: 9.477 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.1899, allocations: 3.938 kB / 0.7253 GB, free: 9.473 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.19, allocations: 19.92 kB / 0.7253 GB, free: 9.453 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.19, allocations: 4 kB / 0.7253 GB, free: 9.449 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.0001187/0.1901, allocations: 121.8 kB / 0.7255 GB, free: 9.32 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.005e-05/0.1902, allocations: 7.953 kB / 0.7255 GB, free: 9.312 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.726e-05/0.1902, allocations: 12.7 kB / 0.7255 GB, free: 9.297 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/0.1902, allocations: 4.469 kB / 0.7255 GB, free: 9.293 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.1902, allocations: 7.938 kB / 0.7255 GB, free: 9.285 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1902, allocations: 0 / 0.7255 GB, free: 9.285 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.1904, allocations: 176.6 kB / 0.7257 GB, free: 9.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.1904, allocations: 4 kB / 0.7257 GB, free: 9.066 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.1905, allocations: 19.92 kB / 0.7257 GB, free: 9.047 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1905, allocations: 3.938 kB / 0.7257 GB, free: 9.043 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.1905, allocations: 3.984 kB / 0.7257 GB, free: 9.039 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1905, allocations: 4 kB / 0.7257 GB, free: 9.035 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.1906, allocations: 3.938 kB / 0.7257 GB, free: 9.031 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004523/0.191, allocations: 180.9 kB / 0.7259 GB, free: 8.836 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.775e-05/0.191, allocations: 7.953 kB / 0.7259 GB, free: 8.828 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.191, allocations: 4 kB / 0.7259 GB, free: 8.824 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.1912, allocations: 15.97 kB / 0.7259 GB, free: 8.809 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.967e-05/0.1912, allocations: 19.86 kB / 0.7259 GB, free: 8.789 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.1912, allocations: 8 kB / 0.7259 GB, free: 8.781 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.662e-05/0.1913, allocations: 109.7 kB / 0.726 GB, free: 8.676 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1913, allocations: 0 / 0.726 GB, free: 8.676 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002551/0.1916, allocations: 35.94 kB / 0.7261 GB, free: 8.641 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.0008259/0.1924, allocations: 0.7372 MB / 0.7268 GB, free: 7.875 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004719/0.1929, allocations: 175.2 kB / 0.7269 GB, free: 7.691 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1929, allocations: 4 kB / 0.727 GB, free: 7.688 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002028/0.1931, allocations: 63.88 kB / 0.727 GB, free: 7.625 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.1933, allocations: 12.19 kB / 0.727 GB, free: 7.613 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002507/0.1958, allocations: 1.739 MB / 0.7287 GB, free: 5.789 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.1961, allocations: 0.6963 MB / 0.7294 GB, free: 5.066 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.679e-05/0.1962, allocations: 11.98 kB / 0.7294 GB, free: 5.055 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.169e-05/0.1963, allocations: 31.42 kB / 0.7294 GB, free: 5.023 MB / 0.545 GB Notification: Performance of SimCode: time 5.51e-07/0.1963, allocations: 4 kB / 0.7294 GB, free: 5.02 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02218/0.2185, allocations: 3.009 MB / 0.7324 GB, free: 2.164 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.1, allocations: 8.062 kB / 0.7324 GB, free: 2.156 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: 14.826503279968165] Failed to read output from testmodel.py, exit status != 0: 11.261903681966942 11.280452919 11.093336579 Calling exit ...