Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.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.00133/0.00133, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.001381/0.001381, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.459/1.459, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.9439/0.9439, allocations: 145 MB / 453.8 MB, free: 0.6992 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.OffTimer,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_OffTimer",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.002486/0.002486, allocations: 73.41 kB / 0.628 GB, free: 10.66 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.1842, allocations: 87.82 MB / 0.7138 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer): time 0.002944/0.1871, allocations: 1.481 MB / 0.7152 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000936/0.1881, allocations: 486.8 kB / 0.7157 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.207e-05/0.1881, allocations: 0 / 0.7157 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.049e-05/0.1882, allocations: 3.938 kB / 0.7157 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.822e-05/0.1882, allocations: 19.91 kB / 0.7157 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001353/0.1884, allocations: 19.92 kB / 0.7157 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.032e-05/0.1885, allocations: 47.91 kB / 0.7158 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.456e-05/0.1885, allocations: 8.281 kB / 0.7158 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.765e-05/0.1886, allocations: 23.92 kB / 0.7158 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.767e-05/0.1887, allocations: 23.89 kB / 0.7158 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.1887, allocations: 7.938 kB / 0.7158 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.262e-05/0.1887, allocations: 4 kB / 0.7158 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.993e-05/0.1887, allocations: 11.94 kB / 0.7158 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.294e-05/0.1888, allocations: 19.92 kB / 0.7159 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001049/0.1889, allocations: 55.73 kB / 0.7159 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.1889, allocations: 3.938 kB / 0.7159 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.833e-06/0.1889, allocations: 0 / 0.7159 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.147e-06/0.1889, allocations: 0 / 0.7159 GB, free: 0.6133 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005169/0.1894, allocations: 365 kB / 0.7163 GB, free: 216 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.1894, allocations: 8.031 kB / 0.7163 GB, free: 208 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.012e-05/0.1895, allocations: 38.75 kB / 0.7163 GB, free: 160 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.69e-05/0.1895, allocations: 0.9375 kB / 0.7163 GB, free: 160 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.1897, allocations: 172.3 kB / 0.7165 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.1897, allocations: 16.31 kB / 0.7165 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.1897, allocations: 4.375 kB / 0.7165 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.1898, allocations: 53.81 kB / 0.7165 GB, free: 15.87 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.1898, allocations: 0 / 0.7165 GB, free: 15.87 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.1898, allocations: 0 / 0.7165 GB, free: 15.87 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.1898, allocations: 4 kB / 0.7165 GB, free: 15.87 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.415e-05/0.1899, allocations: 27.97 kB / 0.7166 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000476/0.1904, allocations: 300.7 kB / 0.7169 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.1905, allocations: 50.56 kB / 0.7169 GB, free: 15.44 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.401e-05/0.1905, allocations: 24.94 kB / 0.7169 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.823e-06/0.1905, allocations: 0 / 0.7169 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000156/0.1907, allocations: 71.42 kB / 0.717 GB, free: 15.33 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.1907, allocations: 7.938 kB / 0.717 GB, free: 15.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.000228/0.1909, allocations: 101.6 kB / 0.7171 GB, free: 15.21 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.191, allocations: 55.78 kB / 0.7172 GB, free: 15.15 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.066e-05/0.1911, allocations: 105.8 kB / 0.7173 GB, free: 15.04 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.1911, allocations: 33.7 kB / 0.7173 GB, free: 15 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.657e-05/0.1911, allocations: 80.94 kB / 0.7174 GB, free: 14.91 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.153e-05/0.1912, allocations: 35.7 kB / 0.7174 GB, free: 14.88 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.733e-05/0.1912, allocations: 25.72 kB / 0.7174 GB, free: 14.85 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.1913, allocations: 330.8 kB / 0.7177 GB, free: 14.52 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.612e-05/0.1914, allocations: 12 kB / 0.7178 GB, free: 14.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.197e-05/0.1914, allocations: 47.36 kB / 0.7178 GB, free: 14.45 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.429e-05/0.1915, allocations: 67.59 kB / 0.7179 GB, free: 14.37 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1915, allocations: 0 / 0.7179 GB, free: 14.37 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001678/0.1917, allocations: 105.6 kB / 0.718 GB, free: 14.26 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.1917, allocations: 4 kB / 0.718 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1917, allocations: 4 kB / 0.718 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.1917, allocations: 4 kB / 0.718 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.468e-05/0.1918, allocations: 8 kB / 0.718 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.1918, allocations: 0 / 0.718 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.173e-05/0.1919, allocations: 11.98 kB / 0.718 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.1919, allocations: 7.938 kB / 0.718 GB, free: 14.22 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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.0001025/0.192, allocations: 122.6 kB / 0.7181 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.629e-05/0.192, allocations: 7.953 kB / 0.7181 GB, free: 14.08 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.689e-05/0.192, allocations: 7.969 kB / 0.7181 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.192, allocations: 4 kB / 0.7181 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.192, allocations: 0 / 0.7181 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.1921, allocations: 3.984 kB / 0.7181 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004586/0.1925, allocations: 354.4 kB / 0.7185 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1925, allocations: 0 / 0.7185 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.954e-05/0.1925, allocations: 7.938 kB / 0.7185 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.706e-06/0.1925, allocations: 4 kB / 0.7185 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.1926, allocations: 0 / 0.7185 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/0.1926, allocations: 7.938 kB / 0.7185 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1926, allocations: 0 / 0.7185 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001805/0.1927, allocations: 183.5 kB / 0.7187 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.301e-05/0.1928, allocations: 77.2 kB / 0.7188 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.1928, allocations: 7.938 kB / 0.7188 GB, free: 13.35 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.945e-05/0.1929, allocations: 11.92 kB / 0.7188 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/0.1929, allocations: 15.92 kB / 0.7188 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.193, allocations: 4 kB / 0.7188 GB, free: 13.32 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.837e-05/0.193, allocations: 83.28 kB / 0.7189 GB, free: 13.23 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.193, allocations: 0 / 0.7189 GB, free: 13.23 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002381/0.1932, allocations: 19.95 kB / 0.7189 GB, free: 13.21 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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004975/0.1937, allocations: 0.7088 MB / 0.7196 GB, free: 12.48 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001423/0.1939, allocations: 56 kB / 0.7196 GB, free: 12.43 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1939, allocations: 0 / 0.7196 GB, free: 12.43 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.3e-05/0.1939, allocations: 19.94 kB / 0.7197 GB, free: 12.41 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.1942, allocations: 22.5 kB / 0.7197 GB, free: 12.39 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/0.1957, allocations: 1.379 MB / 0.721 GB, free: 10.91 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.196, allocations: 0.6906 MB / 0.7217 GB, free: 10.19 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.145e-05/0.1961, allocations: 4 kB / 0.7217 GB, free: 10.19 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.11e-05/0.1961, allocations: 23.42 kB / 0.7217 GB, free: 10.16 MB / 0.545 GB Notification: Performance of SimCode: time 4.51e-07/0.1961, allocations: 0 / 0.7217 GB, free: 10.16 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02407/0.2202, allocations: 1.787 MB / 0.7235 GB, free: 8.477 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.7/7.92, allocations: 3.984 kB / 0.7235 GB, free: 8.473 MB / 0.545 GB " [Timeout remaining time 652] (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_OffTimer.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.699872169992886] Failed to read output from testmodel.py, exit status != 0: 7.986825517989928 7.999685358 7.808002114 Calling exit ...