Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.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.001318/0.001318, allocations: 112 kB / 17.12 MB, free: 6.008 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.001479/0.001479, allocations: 212.3 kB / 20.1 MB, free: 3.055 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.748/1.748, 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/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9792/0.9792, allocations: 150 MB / 459.5 MB, free: 5.266 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.001969/0.001969, allocations: 63.31 kB / 0.6361 GB, free: 30.52 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.18, allocations: 89.14 MB / 0.7232 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Or): time 0.001931/0.1819, allocations: 0.646 MB / 0.7238 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001725/0.1836, allocations: 1.22 MB / 0.725 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.535e-05/0.1837, allocations: 0 / 0.725 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.398e-05/0.1837, allocations: 3.938 kB / 0.725 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.826e-05/0.1838, allocations: 15.86 kB / 0.725 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006932/0.1845, allocations: 214.3 kB / 0.7252 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002787/0.1848, allocations: 179.7 kB / 0.7254 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.414e-05/0.1848, allocations: 4 kB / 0.7254 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.185, allocations: 71.88 kB / 0.7255 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001441/0.1851, allocations: 63.83 kB / 0.7255 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.502e-05/0.1851, allocations: 12 kB / 0.7255 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.052e-05/0.1852, allocations: 28 kB / 0.7256 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.671e-05/0.1852, allocations: 15.92 kB / 0.7256 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.406e-05/0.1853, allocations: 55.88 kB / 0.7256 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002304/0.1856, allocations: 151.8 kB / 0.7258 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1856, allocations: 0 / 0.7258 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.844e-06/0.1856, allocations: 0 / 0.7258 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.1856, allocations: 0 / 0.7258 GB, free: 1.391 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006328/0.1862, allocations: 442.6 kB / 0.7262 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.1863, allocations: 8.031 kB / 0.7262 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.713e-05/0.1863, allocations: 34.69 kB / 0.7262 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.125e-05/0.1864, allocations: 8.938 kB / 0.7262 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.1865, allocations: 176.3 kB / 0.7264 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/0.1865, allocations: 8.359 kB / 0.7264 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.032e-05/0.1865, allocations: 12.38 kB / 0.7264 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.1867, allocations: 46.25 kB / 0.7265 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.1867, allocations: 3.938 kB / 0.7265 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.1867, allocations: 0 / 0.7265 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1867, allocations: 0 / 0.7265 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.749e-05/0.1868, allocations: 19.92 kB / 0.7265 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005429/0.1873, allocations: 360.7 kB / 0.7268 GB, free: 132 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.002e-05/0.1874, allocations: 30.58 kB / 0.7269 GB, free: 92 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.186e-05/0.1874, allocations: 16.94 kB / 0.7269 GB, free: 72 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.838e-06/0.1874, allocations: 0 / 0.7269 GB, free: 72 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001894/0.1876, allocations: 83.38 kB / 0.727 GB, free: 15.97 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.1876, allocations: 0 / 0.727 GB, free: 15.97 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0002647/0.1879, allocations: 101.6 kB / 0.7271 GB, free: 15.87 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.079e-05/0.1879, allocations: 55.41 kB / 0.7271 GB, free: 15.8 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.188, allocations: 125.7 kB / 0.7272 GB, free: 15.67 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.89e-05/0.1881, allocations: 33.7 kB / 0.7273 GB, free: 15.63 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.663e-05/0.1882, allocations: 96.05 kB / 0.7274 GB, free: 15.54 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.454e-05/0.1882, allocations: 7.906 kB / 0.7274 GB, free: 15.53 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.1883, allocations: 57.62 kB / 0.7274 GB, free: 15.46 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.1884, allocations: 322.8 kB / 0.7277 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.1886, allocations: 67.97 kB / 0.7278 GB, free: 15.07 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001658/0.1888, allocations: 92.25 kB / 0.7279 GB, free: 14.97 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002091/0.189, allocations: 160 kB / 0.728 GB, free: 14.79 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.189, allocations: 4 kB / 0.728 GB, free: 14.78 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004805/0.1894, allocations: 260.9 kB / 0.7283 GB, free: 14.51 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.531e-05/0.1895, allocations: 67.39 kB / 0.7284 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.1895, allocations: 4 kB / 0.7284 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.1895, allocations: 0 / 0.7284 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.167e-05/0.1896, allocations: 7.984 kB / 0.7284 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.1896, allocations: 3.938 kB / 0.7284 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003513/0.1899, allocations: 60.02 kB / 0.7284 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.983e-05/0.1899, allocations: 8 kB / 0.7284 GB, free: 14.35 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,or1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * 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: 0 * Algorithm blocks: 2 * 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.0001332/0.1901, allocations: 129.8 kB / 0.7286 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.081e-05/0.1901, allocations: 0 / 0.7286 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.302e-05/0.1901, allocations: 12.38 kB / 0.7286 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.1901, allocations: 3.984 kB / 0.7286 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1901, allocations: 0 / 0.7286 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.1901, allocations: 4 kB / 0.7286 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.1903, allocations: 189.5 kB / 0.7288 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.1903, allocations: 0 / 0.7288 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.885e-06/0.1903, allocations: 0 / 0.7288 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.1903, allocations: 0 / 0.7288 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.1903, allocations: 8 kB / 0.7288 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1903, allocations: 0 / 0.7288 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.1903, allocations: 3.938 kB / 0.7288 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001866/0.1905, allocations: 109 kB / 0.7289 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.35e-05/0.1906, allocations: 81.06 kB / 0.7289 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/0.1906, allocations: 11.98 kB / 0.729 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.839e-05/0.1906, allocations: 0 / 0.729 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.343e-05/0.1906, allocations: 0 / 0.729 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.1907, allocations: 11.92 kB / 0.729 GB, free: 13.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.88e-05/0.1907, allocations: 91.22 kB / 0.7291 GB, free: 13.61 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1907, allocations: 0 / 0.7291 GB, free: 13.61 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002733/0.191, allocations: 32 kB / 0.7291 GB, free: 13.57 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * 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.0005425/0.1915, allocations: 0.6553 MB / 0.7297 GB, free: 12.89 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003585/0.1919, allocations: 222.7 kB / 0.7299 GB, free: 12.65 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1919, allocations: 0 / 0.7299 GB, free: 12.65 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.59e-05/0.1919, allocations: 19.98 kB / 0.73 GB, free: 12.63 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.1922, allocations: 20.42 kB / 0.73 GB, free: 12.61 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002161/0.1943, allocations: 1.714 MB / 0.7317 GB, free: 10.78 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.1947, allocations: 0.6846 MB / 0.7323 GB, free: 10.07 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.831e-05/0.1947, allocations: 7.984 kB / 0.7323 GB, free: 10.06 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.129e-05/0.1947, allocations: 19.44 kB / 0.7323 GB, free: 10.04 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.1947, allocations: 0 / 0.7323 GB, free: 10.04 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02928/0.224, allocations: 2.894 MB / 0.7352 GB, free: 7.246 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.102/8.326, allocations: 6.531 kB / 0.7352 GB, free: 7.242 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Or.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.575003246078268] Failed to read output from testmodel.py, exit status != 0: 8.39411667198874 8.409578085 8.221192782 Calling exit ...