Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.681/2.681, allocations: 287.4 MB / 303.2 MB, free: 8.219 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001307/0.001307, allocations: 181.6 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.049/2.049, allocations: 205.4 MB / 0.6305 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008878/0.0008877, allocations: 93.3 kB / 0.7438 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006608/0.000661, allocations: 13.03 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.232, allocations: 115.3 MB / 0.9793 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9438/1.176, allocations: 138 MB / 1.114 GB, free: 15.87 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/1.176, allocations: 75.55 kB / 1.114 GB, free: 15.87 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01967/1.196, allocations: 4.078 MB / 1.118 GB, free: 31.36 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.398e-06/1.196, allocations: 3.188 kB / 1.118 GB, free: 31.36 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.947e-06/1.196, allocations: 0 / 1.118 GB, free: 31.36 MB / 0.698 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.0006468/1.197, allocations: 468.4 kB / 1.119 GB, free: 30.89 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/1.197, allocations: 15.47 kB / 1.119 GB, free: 30.89 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.179e-05/1.197, allocations: 12.62 kB / 1.119 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/1.197, allocations: 172.1 kB / 1.119 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.868e-05/1.197, allocations: 10.94 kB / 1.119 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.308e-05/1.197, allocations: 15.72 kB / 1.119 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/1.197, allocations: 61.41 kB / 1.119 GB, free: 30.65 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/1.197, allocations: 192 / 1.119 GB, free: 30.65 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/1.197, allocations: 7.438 kB / 1.119 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/1.197, allocations: 3.938 kB / 1.119 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.34e-05/1.197, allocations: 20.66 kB / 1.119 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006912/1.198, allocations: 419.3 kB / 1.119 GB, free: 30.37 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.073e-05/1.198, allocations: 31.62 kB / 1.119 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.656e-05/1.198, allocations: 26.53 kB / 1.119 GB, free: 30.33 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/1.198, allocations: 0 / 1.119 GB, free: 30.33 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002452/1.199, allocations: 100.6 kB / 1.119 GB, free: 30.28 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.813e-06/1.199, allocations: 0 / 1.119 GB, free: 30.28 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0004103/1.199, allocations: 142.4 kB / 1.12 GB, free: 30.23 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/1.199, allocations: 52.86 kB / 1.12 GB, free: 30.17 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/1.199, allocations: 138.5 kB / 1.12 GB, free: 30.07 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.778e-05/1.199, allocations: 33.39 kB / 1.12 GB, free: 30.04 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.711e-05/1.199, allocations: 98.33 kB / 1.12 GB, free: 29.95 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.602e-05/1.199, allocations: 18.61 kB / 1.12 GB, free: 29.95 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.176e-05/1.2, allocations: 15.19 kB / 1.12 GB, free: 29.94 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001213/1.2, allocations: 324.8 kB / 1.12 GB, free: 29.62 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000295/1.2, allocations: 91.94 kB / 1.12 GB, free: 29.62 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003506/1.2, allocations: 131.1 kB / 1.12 GB, free: 29.56 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003926/1.201, allocations: 235.7 kB / 1.121 GB, free: 29.41 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/1.201, allocations: 0 / 1.121 GB, free: 29.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0008986/1.202, allocations: 387.1 kB / 1.121 GB, free: 29.26 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.678e-05/1.202, allocations: 99.55 kB / 1.121 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/1.202, allocations: 0 / 1.121 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/1.202, allocations: 3.875 kB / 1.121 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.247e-05/1.202, allocations: 6.438 kB / 1.121 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/1.202, allocations: 3.906 kB / 1.121 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000827/1.203, allocations: 110.1 kB / 1.121 GB, free: 29.15 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.266e-05/1.203, allocations: 20.16 kB / 1.121 GB, free: 29.15 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,logicalSwitch.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): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001796/1.203, allocations: 141.2 kB / 1.121 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/1.203, allocations: 7.781 kB / 1.121 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.907e-05/1.203, allocations: 8.312 kB / 1.121 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/1.203, allocations: 3.875 kB / 1.121 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/1.203, allocations: 3.234 kB / 1.121 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/1.203, allocations: 0 / 1.121 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/1.203, allocations: 191.6 kB / 1.122 GB, free: 28.83 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/1.203, allocations: 0 / 1.122 GB, free: 28.83 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.775e-05/1.203, allocations: 3.812 kB / 1.122 GB, free: 28.83 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/1.203, allocations: 0 / 1.122 GB, free: 28.83 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/1.203, allocations: 6.734 kB / 1.122 GB, free: 28.83 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/1.203, allocations: 0 / 1.122 GB, free: 28.83 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/1.203, allocations: 3.938 kB / 1.122 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000272/1.204, allocations: 139.6 kB / 1.122 GB, free: 28.75 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.386e-05/1.204, allocations: 87.58 kB / 1.122 GB, free: 28.65 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.925e-05/1.204, allocations: 5.422 kB / 1.122 GB, free: 28.65 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.234e-05/1.204, allocations: 5 kB / 1.122 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.891e-05/1.204, allocations: 10.47 kB / 1.122 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/1.204, allocations: 3.781 kB / 1.122 GB, free: 28.64 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.567e-05/1.204, allocations: 95.86 kB / 1.122 GB, free: 28.57 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.81e-07/1.204, allocations: 0 / 1.122 GB, free: 28.57 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004219/1.204, allocations: 55.41 kB / 1.122 GB, free: 28.57 MB / 0.698 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 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * 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 (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.0001929/1.205, allocations: 111.6 kB / 1.122 GB, free: 28.47 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006666/1.205, allocations: 367.6 kB / 1.122 GB, free: 28.27 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/1.205, allocations: 0 / 1.122 GB, free: 28.27 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.259e-05/1.205, allocations: 43.12 kB / 1.122 GB, free: 28.27 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003815/1.206, allocations: 22.27 kB / 1.122 GB, free: 28.27 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000495/1.206, allocations: 205.8 kB / 1.123 GB, free: 28.12 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/1.207, allocations: 0.6976 MB / 1.123 GB, free: 27.42 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.116e-05/1.207, allocations: 15.23 kB / 1.123 GB, free: 27.41 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.142e-05/1.207, allocations: 11.28 kB / 1.123 GB, free: 27.41 MB / 0.698 GB Notification: Performance of SimCode: time 8.42e-07/1.207, allocations: 0 / 1.123 GB, free: 27.41 MB / 0.698 GB Notification: Performance of Templates: time 0.007289/1.214, allocations: 2.41 MB / 1.126 GB, free: 27.2 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe 2>&1)