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.001273/0.001273, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001431/0.001431, allocations: 218.9 kB / 22.26 MB, free: 5.125 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.476/1.476, allocations: 230.6 MB / 256 MB, free: 7.977 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.9231/0.9231, allocations: 145 MB / 457.4 MB, free: 15.54 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.002281/0.002281, allocations: 62.38 kB / 0.6331 GB, free: 7.336 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1788, allocations: 87.89 MB / 0.719 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.002957/0.1817, allocations: 1.576 MB / 0.7205 GB, free: 13.87 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00124/0.183, allocations: 0.6667 MB / 0.7212 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.972e-05/0.183, allocations: 3.938 kB / 0.7212 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.976e-05/0.1831, allocations: 7.922 kB / 0.7212 GB, free: 13.19 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001361/0.1833, allocations: 15.81 kB / 0.7212 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000474/0.1837, allocations: 115.7 kB / 0.7213 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.1839, allocations: 99.64 kB / 0.7214 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.184, allocations: 12.22 kB / 0.7214 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001747/0.1842, allocations: 59.77 kB / 0.7215 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.1843, allocations: 47.83 kB / 0.7215 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.1843, allocations: 4 kB / 0.7215 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001683/0.1845, allocations: 99.91 kB / 0.7216 GB, free: 12.74 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.494e-05/0.1846, allocations: 23.84 kB / 0.7216 GB, free: 12.71 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001298/0.1847, allocations: 43.73 kB / 0.7217 GB, free: 12.67 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002378/0.1849, allocations: 143.5 kB / 0.7218 GB, free: 12.53 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.185, allocations: 4 kB / 0.7218 GB, free: 12.53 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.222e-06/0.185, allocations: 4 kB / 0.7218 GB, free: 12.52 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.185, allocations: 0 / 0.7218 GB, free: 12.52 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.0008128/0.1858, allocations: 383.5 kB / 0.7222 GB, free: 12.11 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.1858, allocations: 12.03 kB / 0.7222 GB, free: 12.1 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.811e-05/0.1859, allocations: 34.73 kB / 0.7222 GB, free: 12.06 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003645/0.1862, allocations: 36.86 kB / 0.7223 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.1865, allocations: 138.3 kB / 0.7224 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.1865, allocations: 4.375 kB / 0.7224 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.1865, allocations: 4.375 kB / 0.7224 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003036/0.1868, allocations: 109.7 kB / 0.7225 GB, free: 11.74 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.1868, allocations: 0 / 0.7225 GB, free: 11.74 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.1868, allocations: 0 / 0.7225 GB, free: 11.74 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.133e-05/0.1868, allocations: 7.984 kB / 0.7225 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00032/0.1872, allocations: 91.8 kB / 0.7226 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008337/0.188, allocations: 323.7 kB / 0.7229 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002961/0.1883, allocations: 90.52 kB / 0.723 GB, free: 11.19 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001658/0.1885, allocations: 56.88 kB / 0.723 GB, free: 11.13 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.1885, allocations: 0 / 0.723 GB, free: 11.13 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002911/0.1888, allocations: 119.2 kB / 0.7232 GB, free: 11 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.1888, allocations: 4 kB / 0.7232 GB, free: 11 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0006973/0.1895, allocations: 205.4 kB / 0.7234 GB, free: 10.79 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.1895, allocations: 55.41 kB / 0.7234 GB, free: 10.72 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.1896, allocations: 139.6 kB / 0.7235 GB, free: 10.58 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.1897, allocations: 33.69 kB / 0.7236 GB, free: 10.54 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.185e-05/0.1897, allocations: 104.1 kB / 0.7237 GB, free: 10.43 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.356e-05/0.1898, allocations: 35.8 kB / 0.7237 GB, free: 10.4 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.342e-05/0.1898, allocations: 25.7 kB / 0.7237 GB, free: 10.37 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001865/0.19, allocations: 318.8 kB / 0.724 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001806/0.1902, allocations: 55.95 kB / 0.7241 GB, free: 9.992 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001992/0.1904, allocations: 63.89 kB / 0.7242 GB, free: 9.93 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003711/0.1908, allocations: 146.4 kB / 0.7243 GB, free: 9.777 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1908, allocations: 0 / 0.7243 GB, free: 9.777 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004469/0.1912, allocations: 195.3 kB / 0.7245 GB, free: 9.574 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.789e-05/0.1913, allocations: 37.7 kB / 0.7245 GB, free: 9.531 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1913, allocations: 8 kB / 0.7245 GB, free: 9.523 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.1913, allocations: 0 / 0.7245 GB, free: 9.523 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.1914, allocations: 19.97 kB / 0.7245 GB, free: 9.504 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.1914, allocations: 3.938 kB / 0.7245 GB, free: 9.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001318/0.1916, allocations: 19.94 kB / 0.7246 GB, free: 9.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.1916, allocations: 4 kB / 0.7246 GB, free: 9.477 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.0001622/0.1917, allocations: 125.8 kB / 0.7247 GB, free: 9.344 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.017e-05/0.1918, allocations: 11.95 kB / 0.7247 GB, free: 9.332 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.057e-05/0.1919, allocations: 12.72 kB / 0.7247 GB, free: 9.316 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/0.1919, allocations: 4 kB / 0.7247 GB, free: 9.312 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.158e-06/0.1919, allocations: 7.922 kB / 0.7247 GB, free: 9.305 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.1919, allocations: 0 / 0.7247 GB, free: 9.305 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.192, allocations: 169.1 kB / 0.7249 GB, free: 9.098 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.192, allocations: 0 / 0.7249 GB, free: 9.098 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.1922, allocations: 23.97 kB / 0.7249 GB, free: 9.074 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1922, allocations: 0 / 0.7249 GB, free: 9.074 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.1922, allocations: 0 / 0.7249 GB, free: 9.074 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1922, allocations: 7.938 kB / 0.7249 GB, free: 9.066 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.1922, allocations: 7.922 kB / 0.7249 GB, free: 9.059 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004107/0.1926, allocations: 180.9 kB / 0.7251 GB, free: 8.863 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.534e-05/0.1926, allocations: 7.953 kB / 0.7251 GB, free: 8.855 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/0.1926, allocations: 11.98 kB / 0.7251 GB, free: 8.844 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.1927, allocations: 15.98 kB / 0.7251 GB, free: 8.828 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.459e-05/0.1928, allocations: 11.92 kB / 0.7251 GB, free: 8.816 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.1928, allocations: 7.984 kB / 0.7251 GB, free: 8.809 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.947e-05/0.1929, allocations: 109.9 kB / 0.7253 GB, free: 8.703 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1929, allocations: 0 / 0.7253 GB, free: 8.703 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002669/0.1932, allocations: 35.94 kB / 0.7253 GB, free: 8.668 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.0007703/0.1939, allocations: 0.7295 MB / 0.726 GB, free: 7.91 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004531/0.1944, allocations: 187.2 kB / 0.7262 GB, free: 7.715 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1944, allocations: 4 kB / 0.7262 GB, free: 7.711 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002511/0.1946, allocations: 55.95 kB / 0.7262 GB, free: 7.656 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001901/0.1948, allocations: 14.34 kB / 0.7262 GB, free: 7.645 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002388/0.1972, allocations: 1.743 MB / 0.7279 GB, free: 5.816 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000389/0.1976, allocations: 0.6983 MB / 0.7286 GB, free: 5.094 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.381e-05/0.1977, allocations: 11.98 kB / 0.7286 GB, free: 5.082 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.511e-05/0.1977, allocations: 31.42 kB / 0.7287 GB, free: 5.051 MB / 0.545 GB Notification: Performance of SimCode: time 3.71e-07/0.1977, allocations: 0 / 0.7287 GB, free: 5.051 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03281/0.2305, allocations: 2.967 MB / 0.7316 GB, free: 2.211 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.06, allocations: 14.58 kB / 0.7316 GB, free: 2.203 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 sys.exit(0), Time elapsed: 14.680434459121898] Failed to read output from testmodel.py, exit status != 0: 11.16400910494849 11.17942002 10.991248648 Calling exit ...