Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.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.00191/0.00191, allocations: 113.9 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.002293/0.002293, allocations: 212 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.569/1.569, allocations: 230.6 MB / 253.5 MB, free: 15.12 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 1.01/1.01, allocations: 150 MB / 459.5 MB, free: 5.281 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.Nor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Nor",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.002694/0.002694, allocations: 72.06 kB / 0.6361 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1801, allocations: 89.13 MB / 0.7232 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001869/0.182, allocations: 0.643 MB / 0.7238 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001541/0.1835, allocations: 1.223 MB / 0.725 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.935e-05/0.1836, allocations: 3.938 kB / 0.725 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.406e-05/0.1836, allocations: 3.938 kB / 0.725 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.39e-05/0.1836, allocations: 11.86 kB / 0.725 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005993/0.1842, allocations: 222 kB / 0.7252 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002208/0.1845, allocations: 171.8 kB / 0.7254 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.739e-05/0.1845, allocations: 11.98 kB / 0.7254 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.529e-05/0.1846, allocations: 63.89 kB / 0.7255 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.1848, allocations: 63.83 kB / 0.7255 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.012e-05/0.1848, allocations: 16 kB / 0.7255 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.34e-05/0.1849, allocations: 31.92 kB / 0.7256 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.991e-05/0.1849, allocations: 11.94 kB / 0.7256 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.514e-05/0.185, allocations: 59.88 kB / 0.7256 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.1852, allocations: 151.8 kB / 0.7258 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.1852, allocations: 0 / 0.7258 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.042e-06/0.1852, allocations: 0 / 0.7258 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.1852, allocations: 4 kB / 0.7258 GB, free: 1.332 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.0005361/0.1857, allocations: 438.6 kB / 0.7262 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.1858, allocations: 12.03 kB / 0.7262 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.31e-05/0.1858, allocations: 34.75 kB / 0.7262 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.072e-05/0.1858, allocations: 8.938 kB / 0.7262 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.186, allocations: 176.3 kB / 0.7264 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.186, allocations: 8.375 kB / 0.7264 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.36e-05/0.186, allocations: 8.375 kB / 0.7264 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.1861, allocations: 50.19 kB / 0.7265 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.1861, allocations: 7.938 kB / 0.7265 GB, free: 500 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.1862, allocations: 3.984 kB / 0.7265 GB, free: 496 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.1862, allocations: 4 kB / 0.7265 GB, free: 492 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.902e-05/0.1862, allocations: 12 kB / 0.7265 GB, free: 480 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004593/0.1867, allocations: 348.7 kB / 0.7268 GB, free: 80 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.609e-05/0.1867, allocations: 38.5 kB / 0.7269 GB, free: 32 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.513e-05/0.1868, allocations: 8.859 kB / 0.7269 GB, free: 20 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.778e-06/0.1868, allocations: 8 kB / 0.7269 GB, free: 12 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001713/0.1869, allocations: 75.47 kB / 0.727 GB, free: 15.93 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.1869, allocations: 0 / 0.727 GB, free: 15.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0002642/0.1872, allocations: 109.5 kB / 0.7271 GB, free: 15.81 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.691e-05/0.1873, allocations: 63.33 kB / 0.7271 GB, free: 15.74 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.1874, allocations: 117.8 kB / 0.7272 GB, free: 15.61 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.146e-05/0.1874, allocations: 29.7 kB / 0.7273 GB, free: 15.58 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.938e-05/0.1875, allocations: 92.14 kB / 0.7274 GB, free: 15.48 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.983e-05/0.1875, allocations: 19.89 kB / 0.7274 GB, free: 15.46 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.956e-05/0.1876, allocations: 53.69 kB / 0.7274 GB, free: 15.41 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.1878, allocations: 314.8 kB / 0.7277 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.1879, allocations: 63.95 kB / 0.7278 GB, free: 15.03 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.1881, allocations: 88.27 kB / 0.7279 GB, free: 14.93 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/0.1883, allocations: 164 kB / 0.728 GB, free: 14.74 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.1883, allocations: 7.938 kB / 0.728 GB, free: 14.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004492/0.1887, allocations: 264.8 kB / 0.7283 GB, free: 14.45 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.422e-05/0.1888, allocations: 73.7 kB / 0.7284 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1888, allocations: 0 / 0.7284 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.1888, allocations: 4 kB / 0.7284 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.762e-05/0.1888, allocations: 0 / 0.7284 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.1888, allocations: 4 kB / 0.7284 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003373/0.1892, allocations: 51.89 kB / 0.7284 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.39e-05/0.1892, allocations: 15.98 kB / 0.7284 GB, free: 14.3 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,nor1.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.000112/0.1893, allocations: 125.8 kB / 0.7286 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.247e-05/0.1893, allocations: 4 kB / 0.7286 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.359e-05/0.1893, allocations: 4.375 kB / 0.7286 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.1893, allocations: 3.938 kB / 0.7286 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.1893, allocations: 4 kB / 0.7286 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.1894, allocations: 3.984 kB / 0.7286 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001566/0.1895, allocations: 185.5 kB / 0.7287 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.1895, allocations: 8 kB / 0.7288 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.979e-06/0.1895, allocations: 3.984 kB / 0.7288 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1895, allocations: 4 kB / 0.7288 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.1895, allocations: 3.984 kB / 0.7288 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.1895, allocations: 4 kB / 0.7288 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1895, allocations: 0 / 0.7288 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.1897, allocations: 105 kB / 0.7289 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.509e-05/0.1897, allocations: 85.06 kB / 0.729 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.1898, allocations: 0 / 0.729 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.913e-05/0.1898, allocations: 3.938 kB / 0.729 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.972e-05/0.1898, allocations: 15.98 kB / 0.729 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.1898, allocations: 7.938 kB / 0.729 GB, free: 13.64 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.71e-05/0.1899, allocations: 95.2 kB / 0.7291 GB, free: 13.54 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1899, allocations: 0 / 0.7291 GB, free: 13.54 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002353/0.1901, allocations: 28 kB / 0.7291 GB, free: 13.52 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,nor1.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.0005673/0.1907, allocations: 0.6514 MB / 0.7297 GB, free: 12.84 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003582/0.191, allocations: 214.7 kB / 0.7299 GB, free: 12.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.191, allocations: 0 / 0.7299 GB, free: 12.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.733e-05/0.1911, allocations: 27.92 kB / 0.73 GB, free: 12.57 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.1913, allocations: 16.61 kB / 0.73 GB, free: 12.56 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002053/0.1934, allocations: 1.723 MB / 0.7317 GB, free: 10.72 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.1937, allocations: 0.6852 MB / 0.7323 GB, free: 10.01 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.687e-05/0.1937, allocations: 8 kB / 0.7323 GB, free: 10 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.191e-05/0.1938, allocations: 15.44 kB / 0.7324 GB, free: 9.984 MB / 0.545 GB Notification: Performance of SimCode: time 3.81e-07/0.1938, allocations: 0 / 0.7324 GB, free: 9.984 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02535/0.2191, allocations: 2.888 MB / 0.7352 GB, free: 7.223 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.154/8.373, allocations: 12.41 kB / 0.7352 GB, free: 7.211 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Nor.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.425486658932641] Failed to read output from testmodel.py, exit status != 0: 8.441954495152459 8.460490229 8.271353676 Calling exit ...