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.001366/0.001366, allocations: 104.3 kB / 19.7 MB, free: 2.059 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.001889/0.001889, allocations: 212.6 kB / 22.99 MB, free: 4.867 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.529/1.529, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.033/1.033, allocations: 149.9 MB / 463 MB, free: 10.39 MB / 366.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: translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor") [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.003117/0.003117, allocations: 62.19 kB / 0.6416 GB, free: 9.652 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2278, allocations: 89.17 MB / 0.7286 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002563/0.2303, allocations: 0.6356 MB / 0.7293 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002213/0.2325, allocations: 1.206 MB / 0.7304 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.685e-05/0.2326, allocations: 0 / 0.7304 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.338e-05/0.2327, allocations: 3.938 kB / 0.7304 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001036/0.2328, allocations: 7.938 kB / 0.7304 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008564/0.2336, allocations: 219.7 kB / 0.7307 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003236/0.234, allocations: 179.6 kB / 0.7308 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.2341, allocations: 11.98 kB / 0.7308 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001632/0.2342, allocations: 63.91 kB / 0.7309 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.2344, allocations: 51.84 kB / 0.7309 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.239e-05/0.2344, allocations: 16 kB / 0.731 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.644e-05/0.2345, allocations: 31.98 kB / 0.731 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.973e-05/0.2346, allocations: 7.984 kB / 0.731 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.288e-05/0.2346, allocations: 55.83 kB / 0.7311 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002771/0.2349, allocations: 155.6 kB / 0.7312 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2349, allocations: 0 / 0.7312 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.385e-06/0.2349, allocations: 0 / 0.7312 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.2349, allocations: 0 / 0.7312 GB, free: 13.93 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.0007469/0.2357, allocations: 365.5 kB / 0.7316 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.2357, allocations: 11.97 kB / 0.7316 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.21e-05/0.2358, allocations: 8.938 kB / 0.7316 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.236, allocations: 110.5 kB / 0.7317 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.018e-05/0.236, allocations: 8.375 kB / 0.7317 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.645e-05/0.236, allocations: 8.375 kB / 0.7317 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.2362, allocations: 50.23 kB / 0.7317 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.2362, allocations: 8.125 kB / 0.7317 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.2362, allocations: 3.938 kB / 0.7318 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.2362, allocations: 0 / 0.7318 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.431e-05/0.2363, allocations: 15.94 kB / 0.7318 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005408/0.2368, allocations: 268.5 kB / 0.732 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.85e-05/0.2369, allocations: 34.56 kB / 0.7321 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.858e-05/0.2369, allocations: 20.8 kB / 0.7321 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.544e-06/0.2369, allocations: 0 / 0.7321 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002281/0.2372, allocations: 91.33 kB / 0.7322 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.803e-06/0.2372, allocations: 4 kB / 0.7322 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0002912/0.2375, allocations: 105.6 kB / 0.7323 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.012e-05/0.2375, allocations: 55.41 kB / 0.7323 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.2376, allocations: 117.8 kB / 0.7324 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.437e-05/0.2377, allocations: 29.7 kB / 0.7325 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.775e-05/0.2377, allocations: 92.12 kB / 0.7326 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.2378, allocations: 19.89 kB / 0.7326 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.622e-05/0.2379, allocations: 45.69 kB / 0.7326 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.238, allocations: 318.8 kB / 0.7329 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000187/0.2382, allocations: 119.3 kB / 0.733 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/0.2384, allocations: 163.6 kB / 0.7332 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002071/0.2386, allocations: 155.6 kB / 0.7333 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.2386, allocations: 4 kB / 0.7333 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004945/0.2391, allocations: 324.7 kB / 0.7336 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.783e-05/0.2392, allocations: 71.33 kB / 0.7337 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.2392, allocations: 4.125 kB / 0.7337 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.2392, allocations: 4 kB / 0.7337 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.167e-05/0.2392, allocations: 4 kB / 0.7337 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.2392, allocations: 3.938 kB / 0.7337 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000354/0.2396, allocations: 55.89 kB / 0.7338 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.574e-05/0.2396, allocations: 11.98 kB / 0.7338 GB, free: 10.98 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,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.0001219/0.2397, allocations: 125.8 kB / 0.7339 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.562e-05/0.2398, allocations: 4 kB / 0.7339 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.258e-05/0.2398, allocations: 16.36 kB / 0.7339 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.2398, allocations: 0 / 0.7339 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2398, allocations: 0 / 0.7339 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.2398, allocations: 3.938 kB / 0.7339 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.2399, allocations: 125.2 kB / 0.7341 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2399, allocations: 0 / 0.7341 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.237e-06/0.2399, allocations: 0 / 0.7341 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.2399, allocations: 0 / 0.7341 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.24, allocations: 4 kB / 0.7341 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.24, allocations: 3.984 kB / 0.7341 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.24, allocations: 4 kB / 0.7341 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001749/0.2401, allocations: 116.9 kB / 0.7342 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.118e-05/0.2402, allocations: 15.92 kB / 0.7342 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.2402, allocations: 0 / 0.7342 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.134e-05/0.2402, allocations: 4.062 kB / 0.7342 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.552e-05/0.2402, allocations: 11.98 kB / 0.7342 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.2402, allocations: 4 kB / 0.7342 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.98e-05/0.2403, allocations: 91.27 kB / 0.7343 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2403, allocations: 0 / 0.7343 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002472/0.2406, allocations: 28 kB / 0.7343 GB, free: 10.37 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,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.0001748/0.2407, allocations: 99.25 kB / 0.7344 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003995/0.2411, allocations: 278.1 kB / 0.7347 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2411, allocations: 0 / 0.7347 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.013e-05/0.2412, allocations: 32.31 kB / 0.7347 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.2414, allocations: 24.28 kB / 0.7347 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000389/0.2418, allocations: 152.4 kB / 0.7349 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.774e-05/0.2419, allocations: 71.59 kB / 0.735 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.071e-05/0.2419, allocations: 4 kB / 0.735 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.733e-05/0.242, allocations: 15.42 kB / 0.735 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of SimCode: time 4.4e-07/0.242, allocations: 0 / 0.735 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of Templates: time 0.005561/0.2475, allocations: 2.073 MB / 0.737 GB, free: 7.586 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.000812008976936] Failed to read output from testmodel.py, exit status != 0: 0.257822398096323 0.271394629 0.033488543 Calling exit ...