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.001653/0.001653, allocations: 114 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.001817/0.001817, allocations: 211.2 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.544/1.544, 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 1.006/1.006, allocations: 150 MB / 459.5 MB, free: 5.34 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: 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.003542/0.003542, allocations: 70.77 kB / 0.6366 GB, free: 30.22 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.249, allocations: 89.14 MB / 0.7236 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002131/0.2511, allocations: 0.6426 MB / 0.7243 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001811/0.253, allocations: 1.216 MB / 0.7254 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.161e-05/0.253, allocations: 7.938 kB / 0.7255 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.652e-05/0.253, allocations: 0 / 0.7255 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.638e-05/0.2531, allocations: 15.86 kB / 0.7255 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006934/0.2538, allocations: 213.1 kB / 0.7257 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002571/0.2541, allocations: 175.8 kB / 0.7258 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.2542, allocations: 11.98 kB / 0.7259 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.2543, allocations: 67.83 kB / 0.7259 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.2545, allocations: 59.84 kB / 0.726 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.521e-05/0.2545, allocations: 20 kB / 0.726 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.054e-05/0.2546, allocations: 27.98 kB / 0.726 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.096e-05/0.2546, allocations: 15.92 kB / 0.726 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.2547, allocations: 55.89 kB / 0.7261 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002577/0.255, allocations: 147.5 kB / 0.7262 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.255, allocations: 0 / 0.7262 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.164e-06/0.255, allocations: 4 kB / 0.7262 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.332e-05/0.255, allocations: 3.984 kB / 0.7262 GB, free: 0.8438 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.0007547/0.2558, allocations: 434.6 kB / 0.7267 GB, free: 364 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.2558, allocations: 8.031 kB / 0.7267 GB, free: 356 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.191e-05/0.2559, allocations: 12.94 kB / 0.7267 GB, free: 344 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/0.2561, allocations: 172.3 kB / 0.7268 GB, free: 132 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.2561, allocations: 4.375 kB / 0.7268 GB, free: 128 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.241e-05/0.2562, allocations: 16.31 kB / 0.7269 GB, free: 112 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.2563, allocations: 46.25 kB / 0.7269 GB, free: 60 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.2563, allocations: 4.172 kB / 0.7269 GB, free: 56 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/0.2563, allocations: 7.922 kB / 0.7269 GB, free: 48 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.2563, allocations: 0 / 0.7269 GB, free: 48 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.92e-05/0.2564, allocations: 12 kB / 0.7269 GB, free: 36 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006446/0.257, allocations: 352.8 kB / 0.7273 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.2572, allocations: 46.38 kB / 0.7273 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.285e-05/0.2572, allocations: 12.86 kB / 0.7273 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.2572, allocations: 0 / 0.7273 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001962/0.2574, allocations: 79.45 kB / 0.7274 GB, free: 15.48 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.2574, allocations: 4 kB / 0.7274 GB, free: 15.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0003124/0.2577, allocations: 109.5 kB / 0.7275 GB, free: 15.36 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.958e-05/0.2578, allocations: 51.41 kB / 0.7275 GB, free: 15.3 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.2579, allocations: 117.8 kB / 0.7277 GB, free: 15.18 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.854e-05/0.258, allocations: 33.7 kB / 0.7277 GB, free: 15.14 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.723e-05/0.2581, allocations: 96.08 kB / 0.7278 GB, free: 15.04 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.381e-05/0.2581, allocations: 15.88 kB / 0.7278 GB, free: 15.02 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.2582, allocations: 49.69 kB / 0.7278 GB, free: 14.97 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001965/0.2584, allocations: 326.8 kB / 0.7282 GB, free: 14.64 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.2585, allocations: 63.95 kB / 0.7282 GB, free: 14.58 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.2587, allocations: 94.52 kB / 0.7283 GB, free: 14.47 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000233/0.2589, allocations: 163.5 kB / 0.7285 GB, free: 14.29 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.2589, allocations: 0 / 0.7285 GB, free: 14.29 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004705/0.2594, allocations: 265.3 kB / 0.7287 GB, free: 14.01 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.499e-05/0.2595, allocations: 71.39 kB / 0.7288 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.2595, allocations: 0 / 0.7288 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.2595, allocations: 3.938 kB / 0.7288 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.663e-05/0.2595, allocations: 4 kB / 0.7288 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.2595, allocations: 128 / 0.7288 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003517/0.2599, allocations: 59.89 kB / 0.7289 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.91e-05/0.2599, allocations: 15.98 kB / 0.7289 GB, free: 13.84 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.0001452/0.2601, allocations: 125.7 kB / 0.729 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.094e-05/0.2601, allocations: 0 / 0.729 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.755e-05/0.2601, allocations: 12.38 kB / 0.729 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.2601, allocations: 7.984 kB / 0.729 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.2601, allocations: 0 / 0.729 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.2601, allocations: 0 / 0.729 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002008/0.2603, allocations: 181.5 kB / 0.7292 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2603, allocations: 0 / 0.7292 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.195e-06/0.2603, allocations: 0 / 0.7292 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.2603, allocations: 4 kB / 0.7292 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.2604, allocations: 7.984 kB / 0.7292 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2604, allocations: 0 / 0.7292 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2604, allocations: 0 / 0.7292 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/0.2605, allocations: 113 kB / 0.7293 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.228e-05/0.2606, allocations: 89 kB / 0.7294 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.2606, allocations: 4 kB / 0.7294 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.922e-05/0.2606, allocations: 0 / 0.7294 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.094e-05/0.2607, allocations: 7.984 kB / 0.7294 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.2607, allocations: 0 / 0.7294 GB, free: 13.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.862e-05/0.2608, allocations: 91.27 kB / 0.7295 GB, free: 13.11 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.2608, allocations: 3.938 kB / 0.7295 GB, free: 13.11 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000237/0.261, allocations: 36 kB / 0.7295 GB, free: 13.07 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.0002082/0.2612, allocations: 95.25 kB / 0.7296 GB, free: 12.97 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003802/0.2616, allocations: 226.6 kB / 0.7298 GB, free: 12.73 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2616, allocations: 0 / 0.7298 GB, free: 12.73 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.72e-05/0.2616, allocations: 23.92 kB / 0.7299 GB, free: 12.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.2619, allocations: 24.64 kB / 0.7299 GB, free: 12.68 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003568/0.2622, allocations: 151.2 kB / 0.73 GB, free: 12.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.2626, allocations: 0.6846 MB / 0.7307 GB, free: 11.79 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.574e-05/0.2626, allocations: 7.984 kB / 0.7307 GB, free: 11.79 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.035e-05/0.2626, allocations: 11.44 kB / 0.7307 GB, free: 11.77 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.2626, allocations: 0 / 0.7307 GB, free: 11.77 MB / 0.545 GB Notification: Performance of Templates: time 0.005112/0.2677, allocations: 1.85 MB / 0.7325 GB, free: 9.945 MB / 0.545 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.3113926611840725] Failed to read output from testmodel.py, exit status != 0: 0.2771197489928454 0.29010218800000004 0.032116860000000004 Calling exit ...