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.001797/0.001797, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002281/0.002281, allocations: 217.4 kB / 22.25 MB, free: 4.855 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.457/1.457, allocations: 230.6 MB / 256 MB, free: 7.793 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.9408/0.9408, allocations: 145 MB / 457.4 MB, free: 15.27 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.002027/0.002027, allocations: 71.23 kB / 0.6331 GB, free: 6.715 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1584, allocations: 87.89 MB / 0.7189 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.002931/0.1614, allocations: 1.537 MB / 0.7204 GB, free: 13.29 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001225/0.1626, allocations: 0.6083 MB / 0.721 GB, free: 12.68 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.721e-05/0.1627, allocations: 3.938 kB / 0.721 GB, free: 12.68 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.925e-05/0.1628, allocations: 3.938 kB / 0.721 GB, free: 12.67 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.445e-05/0.1628, allocations: 31.78 kB / 0.721 GB, free: 12.64 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004678/0.1633, allocations: 111.7 kB / 0.7211 GB, free: 12.53 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001655/0.1635, allocations: 99.64 kB / 0.7212 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.1636, allocations: 12.22 kB / 0.7212 GB, free: 12.42 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001732/0.1637, allocations: 51.83 kB / 0.7213 GB, free: 12.37 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.894e-05/0.1638, allocations: 43.78 kB / 0.7213 GB, free: 12.32 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.1639, allocations: 8 kB / 0.7213 GB, free: 12.32 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000159/0.164, allocations: 87.91 kB / 0.7214 GB, free: 12.23 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.604e-05/0.1641, allocations: 27.89 kB / 0.7214 GB, free: 12.2 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.629e-05/0.1641, allocations: 31.86 kB / 0.7215 GB, free: 12.17 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000256/0.1644, allocations: 155.4 kB / 0.7216 GB, free: 12.02 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1644, allocations: 0 / 0.7216 GB, free: 12.02 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.42e-07/0.1644, allocations: 0 / 0.7216 GB, free: 12.02 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.1644, allocations: 0 / 0.7216 GB, free: 12.02 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.0008025/0.1652, allocations: 387.5 kB / 0.722 GB, free: 11.61 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.1652, allocations: 8.031 kB / 0.722 GB, free: 11.6 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.8e-05/0.1653, allocations: 38.75 kB / 0.722 GB, free: 11.55 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002598/0.1655, allocations: 32.86 kB / 0.7221 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/0.1658, allocations: 138.4 kB / 0.7222 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.1658, allocations: 4.375 kB / 0.7222 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.1658, allocations: 12.31 kB / 0.7222 GB, free: 11.34 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003173/0.1661, allocations: 109.7 kB / 0.7223 GB, free: 11.23 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.914e-06/0.1662, allocations: 0 / 0.7223 GB, free: 11.23 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.1662, allocations: 7.984 kB / 0.7223 GB, free: 11.22 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.921e-05/0.1662, allocations: 4 kB / 0.7223 GB, free: 11.22 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003304/0.1665, allocations: 95.84 kB / 0.7224 GB, free: 11.12 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006551/0.1672, allocations: 311.6 kB / 0.7227 GB, free: 10.78 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003179/0.1675, allocations: 86.5 kB / 0.7228 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/0.1677, allocations: 64.88 kB / 0.7229 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.1677, allocations: 0 / 0.7229 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000306/0.168, allocations: 115.3 kB / 0.723 GB, free: 10.49 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.168, allocations: 0 / 0.723 GB, free: 10.49 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0006653/0.1687, allocations: 201.5 kB / 0.7232 GB, free: 10.29 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.1687, allocations: 55.41 kB / 0.7232 GB, free: 10.22 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.1688, allocations: 148.3 kB / 0.7234 GB, free: 10.07 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.1689, allocations: 25.7 kB / 0.7234 GB, free: 10.04 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.313e-05/0.1689, allocations: 108.1 kB / 0.7235 GB, free: 9.93 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.604e-05/0.169, allocations: 35.8 kB / 0.7235 GB, free: 9.895 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.436e-05/0.169, allocations: 21.72 kB / 0.7235 GB, free: 9.867 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1692, allocations: 318.8 kB / 0.7238 GB, free: 9.547 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002218/0.1694, allocations: 93.64 kB / 0.7239 GB, free: 9.449 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001991/0.1696, allocations: 81.66 kB / 0.724 GB, free: 9.363 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003652/0.17, allocations: 146.5 kB / 0.7242 GB, free: 9.211 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.17, allocations: 0 / 0.7242 GB, free: 9.211 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000493/0.1705, allocations: 228.9 kB / 0.7244 GB, free: 8.969 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.094e-05/0.1705, allocations: 39.58 kB / 0.7244 GB, free: 8.926 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1705, allocations: 0 / 0.7244 GB, free: 8.926 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.1705, allocations: 0 / 0.7244 GB, free: 8.926 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.1707, allocations: 19.97 kB / 0.7244 GB, free: 8.906 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.1707, allocations: 3.938 kB / 0.7244 GB, free: 8.902 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.1708, allocations: 23.88 kB / 0.7245 GB, free: 8.879 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.1708, allocations: 4.469 kB / 0.7245 GB, free: 8.875 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.0001057/0.1709, allocations: 125.8 kB / 0.7246 GB, free: 8.742 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.1e-05/0.171, allocations: 7.953 kB / 0.7246 GB, free: 8.734 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.967e-05/0.171, allocations: 16.66 kB / 0.7246 GB, free: 8.711 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/0.171, allocations: 4 kB / 0.7246 GB, free: 8.707 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.171, allocations: 7.922 kB / 0.7246 GB, free: 8.699 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.171, allocations: 3.938 kB / 0.7246 GB, free: 8.695 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.1712, allocations: 156.7 kB / 0.7248 GB, free: 8.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1712, allocations: 0 / 0.7248 GB, free: 8.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.1713, allocations: 19.97 kB / 0.7248 GB, free: 8.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1713, allocations: 4 kB / 0.7248 GB, free: 8.477 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.1713, allocations: 0 / 0.7248 GB, free: 8.477 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1713, allocations: 0 / 0.7248 GB, free: 8.477 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.1713, allocations: 3.938 kB / 0.7248 GB, free: 8.473 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004627/0.1718, allocations: 188.9 kB / 0.725 GB, free: 8.27 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.076e-05/0.1718, allocations: 7.953 kB / 0.725 GB, free: 8.262 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/0.1718, allocations: 7.984 kB / 0.725 GB, free: 8.254 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.172, allocations: 15.98 kB / 0.725 GB, free: 8.238 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.535e-05/0.172, allocations: 15.92 kB / 0.725 GB, free: 8.223 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.172, allocations: 7.984 kB / 0.725 GB, free: 8.215 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.04e-05/0.1721, allocations: 106.5 kB / 0.7251 GB, free: 8.113 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1721, allocations: 0 / 0.7251 GB, free: 8.113 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000251/0.1724, allocations: 39.94 kB / 0.7252 GB, free: 8.074 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.0008482/0.1732, allocations: 0.7411 MB / 0.7259 GB, free: 7.305 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000494/0.1737, allocations: 208.9 kB / 0.7261 GB, free: 7.082 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1737, allocations: 192 / 0.7261 GB, free: 7.082 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001997/0.1739, allocations: 59.89 kB / 0.7261 GB, free: 7.023 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.1741, allocations: 19.86 kB / 0.7262 GB, free: 7.004 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002632/0.1768, allocations: 1.839 MB / 0.728 GB, free: 5.055 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.026e-05/0.1769, allocations: 89.92 kB / 0.728 GB, free: 4.949 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.904e-05/0.1769, allocations: 15.97 kB / 0.7281 GB, free: 4.934 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.026e-05/0.177, allocations: 31.42 kB / 0.7281 GB, free: 4.902 MB / 0.545 GB Notification: Performance of SimCode: time 3.9e-07/0.177, allocations: 0 / 0.7281 GB, free: 4.902 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03225/0.2093, allocations: 3.391 MB / 0.7314 GB, free: 1.668 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.23, allocations: 11.94 kB / 0.7314 GB, free: 1.66 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.881176101975143] Failed to read output from testmodel.py, exit status != 0: 11.33618413284421 11.36416702 11.194893712 Calling exit ...