Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009725/0.009726, allocations: 98.39 kB / 15.73 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002031/0.002032, allocations: 194.4 kB / 16.67 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.653/1.653, allocations: 205.1 MB / 222.6 MB, free: 4.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.684/1.684, allocations: 251.7 MB / 0.5094 GB, free: 3.07 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 67.91 kB / 0.7258 GB, free: 8.973 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2564, allocations: 104.7 MB / 0.8281 GB, free: 176 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.00261/0.259, allocations: 1.381 MB / 0.8294 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.000519/0.2596, allocations: 208.6 kB / 0.8296 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.28e-05/0.2596, allocations: 4 kB / 0.8296 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.475e-05/0.2597, allocations: 3.938 kB / 0.8296 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001012/0.2598, allocations: 11.92 kB / 0.8296 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001685/0.26, allocations: 19.92 kB / 0.8296 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.2601, allocations: 55.8 kB / 0.8297 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.2602, allocations: 15.97 kB / 0.8297 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.174e-05/0.2603, allocations: 23.92 kB / 0.8297 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.554e-05/0.2604, allocations: 15.92 kB / 0.8297 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.2604, allocations: 7.938 kB / 0.8298 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.403e-05/0.2604, allocations: 8 kB / 0.8298 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.777e-05/0.2605, allocations: 7.984 kB / 0.8298 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.024e-05/0.2605, allocations: 23.88 kB / 0.8298 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001227/0.2606, allocations: 55.78 kB / 0.8298 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.2606, allocations: 0 / 0.8298 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.296e-06/0.2607, allocations: 0 / 0.8298 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.117e-05/0.2607, allocations: 3.938 kB / 0.8299 GB, free: 14.32 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006184/0.2613, allocations: 371.2 kB / 0.8302 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.2613, allocations: 12.03 kB / 0.8302 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.102e-05/0.2614, allocations: 4.891 kB / 0.8302 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001594/0.2616, allocations: 176.3 kB / 0.8304 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.2616, allocations: 8.375 kB / 0.8304 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.2616, allocations: 4.375 kB / 0.8304 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.2617, allocations: 54.17 kB / 0.8305 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.2618, allocations: 192 / 0.8305 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.2618, allocations: 7.938 kB / 0.8305 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.2618, allocations: 3.938 kB / 0.8305 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.575e-05/0.2619, allocations: 19.98 kB / 0.8305 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004561/0.2623, allocations: 276.9 kB / 0.8307 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.2624, allocations: 54.44 kB / 0.8308 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.652e-05/0.2625, allocations: 20.97 kB / 0.8308 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.2625, allocations: 0 / 0.8308 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001651/0.2627, allocations: 71.38 kB / 0.8309 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.2627, allocations: 0 / 0.8309 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0002236/0.2629, allocations: 81.64 kB / 0.831 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.263, allocations: 67.33 kB / 0.831 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.2631, allocations: 113.8 kB / 0.8311 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.2631, allocations: 25.7 kB / 0.8312 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.258e-05/0.2632, allocations: 92.2 kB / 0.8313 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/0.2632, allocations: 11.91 kB / 0.8313 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.105e-05/0.2632, allocations: 25.7 kB / 0.8313 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.2634, allocations: 318.8 kB / 0.8316 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.164e-05/0.2634, allocations: 11.98 kB / 0.8316 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.949e-05/0.2635, allocations: 38.58 kB / 0.8316 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.499e-05/0.2635, allocations: 54.44 kB / 0.8317 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2635, allocations: 0 / 0.8317 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001064/0.2636, allocations: 77.58 kB / 0.8318 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.2637, allocations: 8 kB / 0.8318 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.2637, allocations: 4.062 kB / 0.8318 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.2637, allocations: 0 / 0.8318 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.464e-05/0.2638, allocations: 4 kB / 0.8318 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.2638, allocations: 7.938 kB / 0.8318 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.994e-05/0.2639, allocations: 7.984 kB / 0.8318 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.2639, allocations: 8 kB / 0.8318 GB, free: 12.08 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,nor1.y,booPul2.pulseStart,$PRE.booPul2.pulseStart,booPul2.y,booPul1.pulseStart,$PRE.booPul1.pulseStart,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): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 9.284e-05/0.264, allocations: 128.1 kB / 0.8319 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.424e-05/0.264, allocations: 15.92 kB / 0.8319 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.918e-05/0.264, allocations: 12.38 kB / 0.832 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.264, allocations: 0 / 0.832 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2641, allocations: 0 / 0.832 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.2641, allocations: 4 kB / 0.832 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/0.2642, allocations: 177.6 kB / 0.8321 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2642, allocations: 0 / 0.8321 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.2e-05/0.2642, allocations: 4.188 kB / 0.8321 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.2642, allocations: 0 / 0.8321 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.2643, allocations: 3.938 kB / 0.8321 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2643, allocations: 0 / 0.8321 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2643, allocations: 0 / 0.8321 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001388/0.2644, allocations: 113.6 kB / 0.8322 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.877e-05/0.2645, allocations: 77.11 kB / 0.8323 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.2645, allocations: 4 kB / 0.8323 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.442e-05/0.2646, allocations: 11.98 kB / 0.8323 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.714e-05/0.2646, allocations: 7.984 kB / 0.8323 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.792e-06/0.2646, allocations: 4 kB / 0.8323 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.17e-05/0.2647, allocations: 95.34 kB / 0.8324 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2647, allocations: 0 / 0.8324 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000189/0.2649, allocations: 15.95 kB / 0.8324 GB, free: 11.32 MB / 0.6544 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 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,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.0001357/0.265, allocations: 97 kB / 0.8325 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001376/0.2652, allocations: 52.14 kB / 0.8326 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.2652, allocations: 0 / 0.8326 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 5.65e-05/0.2652, allocations: 27.97 kB / 0.8326 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.2655, allocations: 24.05 kB / 0.8326 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003381/0.2659, allocations: 149.9 kB / 0.8328 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.2661, allocations: 0.6883 MB / 0.8335 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.107e-05/0.2662, allocations: 7.859 kB / 0.8335 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.102e-05/0.2662, allocations: 11.44 kB / 0.8335 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of SimCode: time 3.006e-06/0.2662, allocations: 0 / 0.8335 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of Templates: time 0.003211/0.2694, allocations: 0.9215 MB / 0.8344 GB, free: 9.297 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1)