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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.293/1.293, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009299/0.0009301, allocations: 174.9 kB / 327.6 MB, free: 2.164 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.42/1.42, allocations: 205.4 MB / 0.5785 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007244/0.0007244, allocations: 92.06 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004088/0.0004089, allocations: 13.09 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2269, allocations: 106.3 MB / 0.9012 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1726/0.3996, allocations: 131.4 MB / 1.03 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/0.3999, allocations: 75.95 kB / 1.03 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002419/0.4023, allocations: 0.8927 MB / 1.031 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.214e-06/0.4023, allocations: 4 kB / 1.031 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.102e-05/0.4024, allocations: 4 kB / 1.031 GB, free: 11.11 MB / 0.6823 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.000477/0.4028, allocations: 371.2 kB / 1.031 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.4029, allocations: 12.02 kB / 1.031 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.467e-05/0.4029, allocations: 8.875 kB / 1.031 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.4031, allocations: 172.3 kB / 1.031 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.4031, allocations: 8.375 kB / 1.031 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.4031, allocations: 384 / 1.031 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.4033, allocations: 54.23 kB / 1.031 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.4033, allocations: 192 / 1.031 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.4033, allocations: 3.938 kB / 1.031 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.4033, allocations: 3.938 kB / 1.031 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.835e-05/0.4034, allocations: 19.98 kB / 1.031 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005706/0.404, allocations: 276.9 kB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.4041, allocations: 46.5 kB / 1.031 GB, free: 9.996 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.822e-05/0.4042, allocations: 16.98 kB / 1.032 GB, free: 9.977 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.4042, allocations: 3.984 kB / 1.032 GB, free: 9.973 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002325/0.4044, allocations: 87.38 kB / 1.032 GB, free: 9.875 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.734e-06/0.4044, allocations: 0 / 1.032 GB, free: 9.875 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.000263/0.4047, allocations: 85.59 kB / 1.032 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.681e-05/0.4048, allocations: 51.41 kB / 1.032 GB, free: 9.723 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.4049, allocations: 117.8 kB / 1.032 GB, free: 9.598 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.4049, allocations: 29.64 kB / 1.032 GB, free: 9.562 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.429e-05/0.405, allocations: 92.05 kB / 1.032 GB, free: 9.469 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.501e-05/0.405, allocations: 11.89 kB / 1.032 GB, free: 9.457 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.291e-06/0.4051, allocations: 4 kB / 1.032 GB, free: 9.453 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.4052, allocations: 318.8 kB / 1.032 GB, free: 9.133 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.848e-05/0.4053, allocations: 16 kB / 1.032 GB, free: 9.117 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.672e-05/0.4053, allocations: 34.56 kB / 1.032 GB, free: 9.074 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.501e-05/0.4054, allocations: 46.45 kB / 1.032 GB, free: 9.02 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.4054, allocations: 4 kB / 1.032 GB, free: 9.016 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001459/0.4056, allocations: 81.53 kB / 1.032 GB, free: 8.93 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.4056, allocations: 4 kB / 1.032 GB, free: 8.926 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.4056, allocations: 0 / 1.032 GB, free: 8.926 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.4056, allocations: 0 / 1.032 GB, free: 8.926 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.178e-05/0.4057, allocations: 11.98 kB / 1.032 GB, free: 8.914 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.4057, allocations: 0 / 1.032 GB, free: 8.914 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.833e-05/0.4058, allocations: 15.92 kB / 1.032 GB, free: 8.898 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.4058, allocations: 4 kB / 1.032 GB, free: 8.895 MB / 0.6823 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,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,nor1.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000121/0.406, allocations: 131.6 kB / 1.033 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.978e-05/0.406, allocations: 8.094 kB / 1.033 GB, free: 8.75 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.778e-05/0.406, allocations: 8.375 kB / 1.033 GB, free: 8.742 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.4061, allocations: 3.938 kB / 1.033 GB, free: 8.738 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.4061, allocations: 4 kB / 1.033 GB, free: 8.734 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.4061, allocations: 3.984 kB / 1.033 GB, free: 8.73 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.4063, allocations: 181.6 kB / 1.033 GB, free: 8.504 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4063, allocations: 0 / 1.033 GB, free: 8.504 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.127e-05/0.4063, allocations: 4 kB / 1.033 GB, free: 8.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.4063, allocations: 4 kB / 1.033 GB, free: 8.496 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.4063, allocations: 3.984 kB / 1.033 GB, free: 8.492 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4063, allocations: 0 / 1.033 GB, free: 8.492 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4063, allocations: 0 / 1.033 GB, free: 8.492 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000149/0.4065, allocations: 97.06 kB / 1.033 GB, free: 8.379 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.471e-05/0.4066, allocations: 81.02 kB / 1.033 GB, free: 8.281 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.4066, allocations: 0 / 1.033 GB, free: 8.281 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.341e-05/0.4067, allocations: 31.91 kB / 1.033 GB, free: 8.25 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.242e-05/0.4068, allocations: 7.984 kB / 1.033 GB, free: 8.242 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.4068, allocations: 0 / 1.033 GB, free: 8.242 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.175e-05/0.4068, allocations: 88.06 kB / 1.033 GB, free: 8.156 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4068, allocations: 0 / 1.033 GB, free: 8.156 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002127/0.4071, allocations: 16 kB / 1.033 GB, free: 8.141 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000168/0.4072, allocations: 99.23 kB / 1.033 GB, free: 8.035 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001444/0.4074, allocations: 56.14 kB / 1.033 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.4074, allocations: 0 / 1.033 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.76e-05/0.4074, allocations: 19.98 kB / 1.033 GB, free: 7.961 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.4077, allocations: 19.92 kB / 1.033 GB, free: 7.941 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003673/0.4081, allocations: 170.7 kB / 1.033 GB, free: 7.742 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.4084, allocations: 0.6868 MB / 1.034 GB, free: 7.031 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.606e-05/0.4084, allocations: 7.859 kB / 1.034 GB, free: 7.023 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.06e-05/0.4084, allocations: 7.438 kB / 1.034 GB, free: 7.016 MB / 0.6823 GB Notification: Performance of SimCode: time 2.11e-07/0.4084, allocations: 7.938 kB / 1.034 GB, free: 7.008 MB / 0.6823 GB Notification: Performance of Templates: time 0.002839/0.4113, allocations: 0.7511 MB / 1.035 GB, free: 6.266 MB / 0.6823 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)