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.001402/0.001402, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.001443/0.001443, allocations: 220.8 kB / 23.01 MB, free: 5 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.531/1.531, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.032/1.032, allocations: 150 MB / 463.1 MB, free: 10.53 MB / 366.1 MB " [Timeout remaining time 178] 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: translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or") [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.002062/0.002062, allocations: 62.97 kB / 0.6417 GB, free: 9.938 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2192, allocations: 89.17 MB / 0.7288 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Or): time 0.00222/0.2214, allocations: 0.6412 MB / 0.7294 GB, free: 188 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001895/0.2233, allocations: 1.229 MB / 0.7306 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.618e-05/0.2234, allocations: 0 / 0.7306 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.7e-05/0.2234, allocations: 3.938 kB / 0.7306 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001245/0.2235, allocations: 19.84 kB / 0.7307 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006809/0.2242, allocations: 213 kB / 0.7309 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002635/0.2245, allocations: 175.7 kB / 0.731 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.732e-05/0.2246, allocations: 7.984 kB / 0.731 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.2247, allocations: 67.89 kB / 0.7311 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.2249, allocations: 67.83 kB / 0.7312 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.509e-05/0.2249, allocations: 16 kB / 0.7312 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.445e-05/0.225, allocations: 24 kB / 0.7312 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.533e-05/0.225, allocations: 11.98 kB / 0.7312 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.985e-05/0.2251, allocations: 59.84 kB / 0.7313 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003324/0.2254, allocations: 151.5 kB / 0.7314 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2254, allocations: 3.938 kB / 0.7314 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2254, allocations: 0 / 0.7314 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.968e-06/0.2254, allocations: 0 / 0.7314 GB, free: 14.14 MB / 0.5606 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.0007593/0.2262, allocations: 361.5 kB / 0.7318 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.2262, allocations: 12.03 kB / 0.7318 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.617e-05/0.2263, allocations: 8.938 kB / 0.7318 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.2264, allocations: 114.5 kB / 0.7319 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.2264, allocations: 12.36 kB / 0.7319 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.594e-05/0.2265, allocations: 8.375 kB / 0.7319 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.2266, allocations: 50.25 kB / 0.732 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.2266, allocations: 192 / 0.732 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.2266, allocations: 7.938 kB / 0.732 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.2266, allocations: 0 / 0.732 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.419e-05/0.2267, allocations: 19.92 kB / 0.732 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000524/0.2272, allocations: 319.8 kB / 0.7323 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.638e-05/0.2273, allocations: 38.52 kB / 0.7323 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.324e-05/0.2273, allocations: 20.94 kB / 0.7324 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.02e-05/0.2274, allocations: 0 / 0.7324 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001642/0.2275, allocations: 79.27 kB / 0.7324 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.2275, allocations: 0 / 0.7324 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0002579/0.2278, allocations: 105.6 kB / 0.7325 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/0.2279, allocations: 55.41 kB / 0.7326 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.228, allocations: 121.8 kB / 0.7327 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.576e-05/0.2281, allocations: 33.64 kB / 0.7327 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000212/0.2283, allocations: 92.12 kB / 0.7328 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.2283, allocations: 15.91 kB / 0.7328 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.329e-05/0.2284, allocations: 49.69 kB / 0.7329 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.2286, allocations: 322.8 kB / 0.7332 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.2287, allocations: 55.97 kB / 0.7333 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.2288, allocations: 96.25 kB / 0.7333 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002035/0.229, allocations: 155.6 kB / 0.7335 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.229, allocations: 4 kB / 0.7335 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004512/0.2295, allocations: 265.3 kB / 0.7337 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.626e-05/0.2296, allocations: 67.39 kB / 0.7338 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/0.2296, allocations: 11.88 kB / 0.7338 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.2296, allocations: 0 / 0.7338 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.607e-05/0.2296, allocations: 7.938 kB / 0.7338 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.2296, allocations: 3.984 kB / 0.7338 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003274/0.23, allocations: 56.02 kB / 0.7339 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-05/0.23, allocations: 12 kB / 0.7339 GB, free: 11.35 MB / 0.5606 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.0001221/0.2301, allocations: 125.8 kB / 0.734 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.274e-05/0.2301, allocations: 4 kB / 0.734 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.75e-05/0.2302, allocations: 8.375 kB / 0.734 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.2302, allocations: 4 kB / 0.734 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2302, allocations: 0 / 0.734 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.2302, allocations: 4 kB / 0.734 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001578/0.2303, allocations: 152.6 kB / 0.7342 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.2303, allocations: 0 / 0.7342 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.063e-06/0.2303, allocations: 0 / 0.7342 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.2303, allocations: 0 / 0.7342 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.2303, allocations: 7.938 kB / 0.7342 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2303, allocations: 64 / 0.7342 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.2304, allocations: 4 kB / 0.7342 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.2305, allocations: 117 kB / 0.7343 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.387e-05/0.2305, allocations: 11.94 kB / 0.7343 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.2306, allocations: 4 kB / 0.7343 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.263e-05/0.2306, allocations: 7.984 kB / 0.7343 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/0.2306, allocations: 0 / 0.7343 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.2306, allocations: 4 kB / 0.7343 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.849e-05/0.2307, allocations: 91.27 kB / 0.7344 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2307, allocations: 0 / 0.7344 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002532/0.2309, allocations: 32 kB / 0.7345 GB, free: 10.71 MB / 0.5606 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.0001734/0.2311, allocations: 111.2 kB / 0.7346 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003873/0.2315, allocations: 218.6 kB / 0.7348 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2315, allocations: 0 / 0.7348 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.745e-05/0.2316, allocations: 16 kB / 0.7348 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.2318, allocations: 23.3 kB / 0.7348 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003922/0.2322, allocations: 159 kB / 0.735 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004931/0.2327, allocations: 0.6923 MB / 0.7356 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.663e-05/0.2327, allocations: 4 kB / 0.7356 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.374e-05/0.2327, allocations: 11.44 kB / 0.7356 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of SimCode: time 2.9e-07/0.2327, allocations: 0 / 0.7356 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of Templates: time 0.005172/0.2379, allocations: 1.859 MB / 0.7375 GB, free: 7.562 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.162599930074066] Failed to read output from testmodel.py, exit status != 0: 0.24670555628836155 0.272427327 0.041494659 Calling exit ...