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.01079/0.01079, allocations: 105.4 kB / 15.74 MB, free: 6.008 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.002781/0.002781, allocations: 199.9 kB / 16.68 MB, free: 5.93 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.688/1.688, allocations: 205.1 MB / 222.5 MB, free: 4.371 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.942/1.942, allocations: 251.7 MB / 0.5094 GB, free: 3.074 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.001446/0.001446, allocations: 75.83 kB / 0.7258 GB, free: 9.152 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2489, allocations: 104.7 MB / 0.8281 GB, free: 356 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.003473/0.2524, allocations: 1.382 MB / 0.8294 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0005336/0.253, allocations: 208.6 kB / 0.8296 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.367e-05/0.253, allocations: 0 / 0.8296 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.573e-05/0.2531, allocations: 3.938 kB / 0.8296 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.945e-05/0.2532, allocations: 19.91 kB / 0.8296 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001692/0.2534, allocations: 15.92 kB / 0.8296 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.2535, allocations: 59.78 kB / 0.8297 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.2536, allocations: 12 kB / 0.8297 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.363e-05/0.2537, allocations: 23.92 kB / 0.8297 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.97e-05/0.2538, allocations: 19.91 kB / 0.8298 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.322e-05/0.2538, allocations: 4 kB / 0.8298 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.274e-05/0.2538, allocations: 7.938 kB / 0.8298 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.68e-05/0.2538, allocations: 11.98 kB / 0.8298 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.066e-05/0.2539, allocations: 23.86 kB / 0.8298 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001066/0.254, allocations: 43.81 kB / 0.8298 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.254, allocations: 4 kB / 0.8298 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of FrontEnd: time 4.418e-06/0.254, allocations: 0 / 0.8298 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.2541, allocations: 3.938 kB / 0.8298 GB, free: 14.5 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.000595/0.2547, allocations: 375.3 kB / 0.8302 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.2547, allocations: 8.031 kB / 0.8302 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.848e-05/0.2547, allocations: 8.844 kB / 0.8302 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.2549, allocations: 176.4 kB / 0.8304 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.2549, allocations: 8.359 kB / 0.8304 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.2549, allocations: 4.375 kB / 0.8304 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.2551, allocations: 54.19 kB / 0.8305 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.2551, allocations: 192 / 0.8305 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.2551, allocations: 3.938 kB / 0.8305 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.2551, allocations: 0 / 0.8305 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.594e-05/0.2552, allocations: 27.92 kB / 0.8305 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004573/0.2557, allocations: 280.7 kB / 0.8308 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.2558, allocations: 54.44 kB / 0.8308 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.359e-05/0.2558, allocations: 16.98 kB / 0.8308 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.2558, allocations: 0 / 0.8308 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001643/0.256, allocations: 67.39 kB / 0.8309 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.256, allocations: 0 / 0.8309 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0002313/0.2563, allocations: 89.73 kB / 0.831 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.278e-05/0.2563, allocations: 59.34 kB / 0.831 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.742e-05/0.2564, allocations: 121.8 kB / 0.8311 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.2565, allocations: 25.7 kB / 0.8312 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.684e-05/0.2565, allocations: 84.14 kB / 0.8312 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.2566, allocations: 19.8 kB / 0.8313 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.231e-05/0.2566, allocations: 21.72 kB / 0.8313 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.2567, allocations: 318.8 kB / 0.8316 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.148e-05/0.2568, allocations: 12 kB / 0.8316 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.425e-05/0.2568, allocations: 38.56 kB / 0.8316 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.715e-05/0.2569, allocations: 50.45 kB / 0.8317 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2569, allocations: 0 / 0.8317 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000125/0.257, allocations: 78.23 kB / 0.8318 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.2571, allocations: 4 kB / 0.8318 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.2571, allocations: 4 kB / 0.8318 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.2571, allocations: 4.062 kB / 0.8318 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.513e-05/0.2572, allocations: 7.984 kB / 0.8318 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.2572, allocations: 3.938 kB / 0.8318 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.637e-05/0.2573, allocations: 19.89 kB / 0.8318 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.2573, allocations: 4.078 kB / 0.8318 GB, free: 12.25 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.242e-05/0.2574, allocations: 121.7 kB / 0.8319 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.959e-06/0.2574, allocations: 0 / 0.8319 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.31e-05/0.2574, allocations: 12.38 kB / 0.8319 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.2574, allocations: 4 kB / 0.8319 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2574, allocations: 0 / 0.8319 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2575, allocations: 0 / 0.8319 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.2576, allocations: 189.4 kB / 0.8321 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2576, allocations: 0 / 0.8321 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.065e-06/0.2577, allocations: 0 / 0.8321 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.2577, allocations: 192 / 0.8321 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.2577, allocations: 4 kB / 0.8321 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.2577, allocations: 7.922 kB / 0.8321 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.2577, allocations: 3.984 kB / 0.8321 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001479/0.2578, allocations: 109 kB / 0.8322 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.683e-05/0.2579, allocations: 85.02 kB / 0.8323 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.2579, allocations: 0 / 0.8323 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.299e-05/0.258, allocations: 7.984 kB / 0.8323 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.957e-05/0.2581, allocations: 11.98 kB / 0.8323 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.2581, allocations: 7.984 kB / 0.8323 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.099e-05/0.2581, allocations: 91.27 kB / 0.8324 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2581, allocations: 0 / 0.8324 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001915/0.2583, allocations: 12 kB / 0.8324 GB, free: 11.5 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.0001439/0.2585, allocations: 103.2 kB / 0.8325 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001418/0.2586, allocations: 43.92 kB / 0.8326 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2586, allocations: 0 / 0.8326 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 5.541e-05/0.2587, allocations: 23.98 kB / 0.8326 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.2589, allocations: 20.05 kB / 0.8326 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003837/0.2593, allocations: 150.1 kB / 0.8328 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.2596, allocations: 0.6883 MB / 0.8334 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.353e-05/0.2597, allocations: 11.84 kB / 0.8335 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.01e-05/0.2597, allocations: 11.44 kB / 0.8335 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of SimCode: time 3.136e-06/0.2597, allocations: 0 / 0.8335 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of Templates: time 0.003204/0.2629, allocations: 0.9078 MB / 0.8344 GB, free: 9.492 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)