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.Or3.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.Or3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.476/1.476, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.001025/0.001025, allocations: 172 kB / 326.5 MB, free: 2.684 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.97/1.97, allocations: 205 MB / 0.5766 GB, free: 21.03 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.0008067/0.0008065, allocations: 88.7 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003819/0.0003819, allocations: 11 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2433, allocations: 105.4 MB / 0.8968 GB, free: 68.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.001681/0.245, allocations: 1.158 MB / 0.8979 GB, free: 66.98 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005114/0.2455, allocations: 233 kB / 0.8981 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.504e-05/0.2456, allocations: 0 / 0.8981 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.244e-05/0.2457, allocations: 3.938 kB / 0.8981 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.88e-05/0.2458, allocations: 15.86 kB / 0.8981 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001765/0.246, allocations: 15.98 kB / 0.8981 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.2461, allocations: 87.7 kB / 0.8982 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.2462, allocations: 16.45 kB / 0.8982 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.899e-05/0.2463, allocations: 27.86 kB / 0.8983 GB, free: 66.58 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.473e-05/0.2464, allocations: 31.84 kB / 0.8983 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.449e-05/0.2464, allocations: 0 / 0.8983 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.441e-05/0.2464, allocations: 4 kB / 0.8983 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.696e-05/0.2465, allocations: 15.92 kB / 0.8983 GB, free: 66.53 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.324e-05/0.2465, allocations: 31.84 kB / 0.8983 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.472e-05/0.2466, allocations: 51.83 kB / 0.8984 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.2466, allocations: 0 / 0.8984 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2467, allocations: 0 / 0.8984 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.343e-06/0.2467, allocations: 4 kB / 0.8984 GB, free: 66.44 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006185/0.2473, allocations: 399.2 kB / 0.8988 GB, free: 66 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.2473, allocations: 12.03 kB / 0.8988 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.579e-05/0.2474, allocations: 16.78 kB / 0.8988 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.2475, allocations: 180.2 kB / 0.899 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.2476, allocations: 8.359 kB / 0.899 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/0.2476, allocations: 8.375 kB / 0.899 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.2477, allocations: 58.23 kB / 0.8991 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.2477, allocations: 3.938 kB / 0.8991 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.2477, allocations: 0 / 0.8991 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.2478, allocations: 0 / 0.8991 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.491e-05/0.2478, allocations: 39.86 kB / 0.8991 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004385/0.2483, allocations: 316.7 kB / 0.8994 GB, free: 65.28 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.912e-05/0.2484, allocations: 46.56 kB / 0.8994 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.935e-05/0.2484, allocations: 20.86 kB / 0.8995 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.2484, allocations: 4.031 kB / 0.8995 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001797/0.2486, allocations: 91.36 kB / 0.8995 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/0.2486, allocations: 0 / 0.8995 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0002353/0.2489, allocations: 113.5 kB / 0.8997 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.2489, allocations: 51.41 kB / 0.8997 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.759e-05/0.249, allocations: 129.8 kB / 0.8998 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.249, allocations: 25.7 kB / 0.8999 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.318e-05/0.2491, allocations: 96.05 kB / 0.8999 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.2491, allocations: 19.95 kB / 0.9 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.64e-05/0.2491, allocations: 25.7 kB / 0.9 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.404e-05/0.2492, allocations: 322.8 kB / 0.9003 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.51e-05/0.2492, allocations: 16 kB / 0.9003 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.979e-05/0.2493, allocations: 55.36 kB / 0.9004 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.789e-05/0.2494, allocations: 67.73 kB / 0.9004 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2494, allocations: 0 / 0.9004 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001287/0.2495, allocations: 97.47 kB / 0.9005 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.2495, allocations: 7.938 kB / 0.9005 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.2495, allocations: 4 kB / 0.9005 GB, free: 64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.2496, allocations: 3.938 kB / 0.9005 GB, free: 64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.567e-05/0.2496, allocations: 19.98 kB / 0.9006 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.2496, allocations: 0 / 0.9006 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.2498, allocations: 31.92 kB / 0.9006 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.2498, allocations: 4 kB / 0.9006 GB, free: 63.95 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,booPul3.pulseStart,$PRE.booPul3.pulseStart,booPul3.y,or1.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 (13): * Single equations (assignments): 13 * 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 7.217e-05/0.2499, allocations: 125.7 kB / 0.9007 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.515e-05/0.2499, allocations: 7.984 kB / 0.9007 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.158e-05/0.2499, allocations: 12.38 kB / 0.9007 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.2499, allocations: 0 / 0.9007 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.2499, allocations: 4 kB / 0.9007 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.2499, allocations: 0 / 0.9007 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.2501, allocations: 193.5 kB / 0.9009 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.2501, allocations: 3.984 kB / 0.9009 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.135e-05/0.2501, allocations: 8 kB / 0.9009 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2501, allocations: 0 / 0.9009 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.2501, allocations: 0 / 0.9009 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2501, allocations: 0 / 0.9009 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2501, allocations: 0 / 0.9009 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001343/0.2503, allocations: 129.8 kB / 0.9011 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.191e-05/0.2503, allocations: 85 kB / 0.9011 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/0.2503, allocations: 8 kB / 0.9011 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.2504, allocations: 15.98 kB / 0.9012 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.742e-05/0.2505, allocations: 19.97 kB / 0.9012 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.044e-06/0.2505, allocations: 0 / 0.9012 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.854e-05/0.2506, allocations: 95.7 kB / 0.9013 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2506, allocations: 4 kB / 0.9013 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001933/0.2508, allocations: 23.94 kB / 0.9013 GB, free: 63.13 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,or1.y,booPul3.y,booPul3.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001283/0.2509, allocations: 107.4 kB / 0.9014 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001395/0.251, allocations: 67.78 kB / 0.9015 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.2511, allocations: 0 / 0.9015 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.352e-05/0.2511, allocations: 39.92 kB / 0.9015 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.2514, allocations: 25.19 kB / 0.9015 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003915/0.2518, allocations: 224.2 kB / 0.9017 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001263/0.2519, allocations: 0.6965 MB / 0.9024 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.039e-05/0.252, allocations: 11.44 kB / 0.9024 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of SimCode: time 8.01e-07/0.252, allocations: 0 / 0.9024 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of Templates: time 0.002486/0.2545, allocations: 1.189 MB / 0.9036 GB, free: 60.72 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1)