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.001258/0.001258, allocations: 123.1 kB / 17.17 MB, free: 5.918 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.001382/0.001382, allocations: 210.3 kB / 20.13 MB, free: 2.98 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.455/1.455, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.9252/0.9252, allocations: 144.9 MB / 454.5 MB, free: 9.996 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.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.001908/0.001908, allocations: 65.34 kB / 0.6287 GB, free: 33.69 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1693, allocations: 87.84 MB / 0.7144 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.003148/0.1724, allocations: 1.566 MB / 0.716 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001289/0.1737, allocations: 0.6543 MB / 0.7166 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.1738, allocations: 0 / 0.7166 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001374/0.174, allocations: 11.86 kB / 0.7166 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.544e-05/0.174, allocations: 19.8 kB / 0.7166 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006137/0.1746, allocations: 107.7 kB / 0.7167 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002691/0.1749, allocations: 91.7 kB / 0.7168 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001661/0.1751, allocations: 32.14 kB / 0.7169 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002308/0.1753, allocations: 47.91 kB / 0.7169 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.1754, allocations: 51.75 kB / 0.717 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.008e-05/0.1755, allocations: 8 kB / 0.717 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002303/0.1757, allocations: 95.84 kB / 0.7171 GB, free: 9.051 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.138e-05/0.1758, allocations: 19.92 kB / 0.7171 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.649e-05/0.1759, allocations: 39.78 kB / 0.7171 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003434/0.1762, allocations: 159.6 kB / 0.7173 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1762, allocations: 0 / 0.7173 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.174e-06/0.1762, allocations: 4 kB / 0.7173 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.1762, allocations: 0 / 0.7173 GB, free: 8.832 MB / 0.5294 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.00109/0.1773, allocations: 456.5 kB / 0.7177 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/0.1774, allocations: 12.03 kB / 0.7177 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.078e-05/0.1774, allocations: 8.188 kB / 0.7177 GB, free: 8.312 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.742e-05/0.1774, allocations: 34.73 kB / 0.7178 GB, free: 8.27 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003426/0.1778, allocations: 32.88 kB / 0.7178 GB, free: 8.238 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003355/0.1781, allocations: 200.2 kB / 0.718 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.1781, allocations: 4.375 kB / 0.718 GB, free: 8 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.1782, allocations: 8.312 kB / 0.718 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003748/0.1785, allocations: 109.5 kB / 0.7181 GB, free: 7.879 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.1785, allocations: 0 / 0.7181 GB, free: 7.879 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/0.1786, allocations: 3.984 kB / 0.7181 GB, free: 7.875 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.962e-05/0.1786, allocations: 11.98 kB / 0.7181 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003624/0.179, allocations: 79.92 kB / 0.7182 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007409/0.1797, allocations: 348.6 kB / 0.7185 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003315/0.18, allocations: 90.52 kB / 0.7186 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001888/0.1802, allocations: 60.81 kB / 0.7187 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.1802, allocations: 0 / 0.7187 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003265/0.1806, allocations: 123.2 kB / 0.7188 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.1806, allocations: 0 / 0.7188 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0007032/0.1813, allocations: 197.6 kB / 0.719 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/0.1813, allocations: 59.41 kB / 0.719 GB, free: 6.832 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.1815, allocations: 145.7 kB / 0.7192 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.1815, allocations: 33.7 kB / 0.7192 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.515e-05/0.1816, allocations: 104.1 kB / 0.7193 GB, free: 6.535 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.131e-05/0.1816, allocations: 31.73 kB / 0.7193 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.508e-05/0.1817, allocations: 25.7 kB / 0.7194 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001987/0.1819, allocations: 318.8 kB / 0.7197 GB, free: 6.152 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.1821, allocations: 59.95 kB / 0.7197 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001941/0.1823, allocations: 59.95 kB / 0.7198 GB, free: 6.035 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003874/0.1827, allocations: 138.5 kB / 0.7199 GB, free: 5.891 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1827, allocations: 0 / 0.7199 GB, free: 5.891 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004952/0.1832, allocations: 195.2 kB / 0.7201 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.466e-05/0.1832, allocations: 41.7 kB / 0.7201 GB, free: 5.641 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1832, allocations: 0 / 0.7201 GB, free: 5.641 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.1832, allocations: 0 / 0.7201 GB, free: 5.641 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.1834, allocations: 19.97 kB / 0.7202 GB, free: 5.621 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.1834, allocations: 3.938 kB / 0.7202 GB, free: 5.617 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001457/0.1835, allocations: 27.86 kB / 0.7202 GB, free: 5.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/0.1835, allocations: 4 kB / 0.7202 GB, free: 5.586 MB / 0.5294 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.0001138/0.1837, allocations: 121.8 kB / 0.7203 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/0.1837, allocations: 16.36 kB / 0.7203 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.09e-05/0.1837, allocations: 12.72 kB / 0.7203 GB, free: 5.426 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.612e-05/0.1837, allocations: 7.984 kB / 0.7203 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.1838, allocations: 3.938 kB / 0.7203 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.1838, allocations: 3.938 kB / 0.7203 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.184, allocations: 193.6 kB / 0.7205 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.184, allocations: 0 / 0.7205 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.1841, allocations: 19.97 kB / 0.7205 GB, free: 5.152 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.1841, allocations: 8 kB / 0.7206 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.1841, allocations: 4 kB / 0.7206 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1841, allocations: 0 / 0.7206 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.1841, allocations: 3.938 kB / 0.7206 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004709/0.1846, allocations: 180.9 kB / 0.7207 GB, free: 4.941 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.31e-05/0.1846, allocations: 89.05 kB / 0.7208 GB, free: 4.836 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.1847, allocations: 4 kB / 0.7208 GB, free: 4.832 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.1848, allocations: 19.98 kB / 0.7208 GB, free: 4.812 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.413e-05/0.1848, allocations: 15.91 kB / 0.7209 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.1849, allocations: 3.984 kB / 0.7209 GB, free: 4.793 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.278e-05/0.1849, allocations: 113.5 kB / 0.721 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1849, allocations: 0 / 0.721 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002584/0.1852, allocations: 35.94 kB / 0.721 GB, free: 4.648 MB / 0.5294 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.0008732/0.1861, allocations: 0.7333 MB / 0.7217 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005205/0.1866, allocations: 187.2 kB / 0.7219 GB, free: 3.691 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1866, allocations: 0 / 0.7219 GB, free: 3.691 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000212/0.1868, allocations: 56.19 kB / 0.722 GB, free: 3.637 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.187, allocations: 20.27 kB / 0.722 GB, free: 3.617 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002615/0.1897, allocations: 1.738 MB / 0.7237 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.19, allocations: 0.6978 MB / 0.7244 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.495e-05/0.1901, allocations: 19.97 kB / 0.7244 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.556e-05/0.1901, allocations: 27.42 kB / 0.7244 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of SimCode: time 5.01e-07/0.1901, allocations: 0 / 0.7244 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02057/0.2107, allocations: 2.874 MB / 0.7272 GB, free: 14.27 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.149/8.36, allocations: 10.44 kB / 0.7272 GB, free: 14.27 MB / 0.545 GB " [Timeout remaining time 652] (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: 12.11282795702573] Failed to read output from testmodel.py, exit status != 0: 8.48491845303215 8.508355333 8.327649763 Calling exit ...