Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.685/1.685, allocations: 289.9 MB / 297.4 MB, free: 6.379 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.001324/0.001324, allocations: 172.8 kB / 366.7 MB, free: 1.652 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.784/1.784, allocations: 205.2 MB / 0.626 GB, free: 7.203 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008524/0.0008523, allocations: 88.41 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.428e-05/2.443e-05, allocations: 8 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7135/0.7135, allocations: 116.3 MB / 0.9734 GB, free: 76.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2028/0.9164, allocations: 138.4 MB / 1.108 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/0.9168, allocations: 75.94 kB / 1.109 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01319/0.93, allocations: 4.033 MB / 1.112 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.683e-06/0.93, allocations: 0 / 1.112 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.768e-06/0.9301, allocations: 0 / 1.112 GB, free: 7.695 MB / 0.7136 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.0006412/0.9307, allocations: 455.5 kB / 1.113 GB, free: 7.188 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.451e-05/0.9308, allocations: 12.03 kB / 1.113 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.9309, allocations: 11.91 kB / 1.113 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.9311, allocations: 184.8 kB / 1.113 GB, free: 6.945 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.9311, allocations: 4 kB / 1.113 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.904e-05/0.9312, allocations: 12 kB / 1.113 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.934e-05/0.9313, allocations: 16 kB / 1.113 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.549e-05/0.9314, allocations: 53.67 kB / 1.113 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.9314, allocations: 0 / 1.113 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.9315, allocations: 4 kB / 1.113 GB, free: 6.852 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.9315, allocations: 0 / 1.113 GB, free: 6.852 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006207/0.9321, allocations: 393 kB / 1.114 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.546e-05/0.9322, allocations: 30.67 kB / 1.114 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.713e-05/0.9322, allocations: 20.84 kB / 1.114 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.315e-06/0.9322, allocations: 0 / 1.114 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001796/0.9324, allocations: 101 kB / 1.114 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.9324, allocations: 0 / 1.114 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0002805/0.9327, allocations: 101.6 kB / 1.114 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.9328, allocations: 51.41 kB / 1.114 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.9329, allocations: 128.8 kB / 1.114 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.475e-05/0.933, allocations: 33.7 kB / 1.114 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.164e-05/0.933, allocations: 92.12 kB / 1.114 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.796e-05/0.9331, allocations: 19.72 kB / 1.114 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.917e-05/0.9331, allocations: 4 kB / 1.114 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.9333, allocations: 334.7 kB / 1.114 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.9334, allocations: 79.98 kB / 1.115 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/0.9336, allocations: 122 kB / 1.115 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004258/0.9341, allocations: 101.1 kB / 1.115 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.9341, allocations: 0 / 1.115 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007299/0.9348, allocations: 285.3 kB / 1.115 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.897e-05/0.9349, allocations: 97.88 kB / 1.115 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.9349, allocations: 0 / 1.115 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.935, allocations: 5.938 kB / 1.115 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.162e-05/0.935, allocations: 7.938 kB / 1.115 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.935, allocations: 2.031 kB / 1.115 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004839/0.9355, allocations: 116.1 kB / 1.115 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.563e-05/0.9356, allocations: 15.98 kB / 1.115 GB, free: 4.613 MB / 0.7136 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,or1.y,$PRE.booPul3.y,booPul3.y) * Number of discrete 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.0001213/0.9357, allocations: 120.9 kB / 1.115 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000136/0.9358, allocations: 97.52 kB / 1.115 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.475e-05/0.9359, allocations: 11.91 kB / 1.115 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.2e-05/0.9359, allocations: 8.625 kB / 1.115 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.9359, allocations: 0 / 1.115 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.9359, allocations: 4 kB / 1.115 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.9359, allocations: 7.938 kB / 1.115 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.9361, allocations: 162.2 kB / 1.116 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.9361, allocations: 0 / 1.116 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.625e-05/0.9361, allocations: 4 kB / 1.116 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.9361, allocations: 3.938 kB / 1.116 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.9361, allocations: 2.312 kB / 1.116 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.9361, allocations: 0 / 1.116 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.9362, allocations: 4 kB / 1.116 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.9363, allocations: 130.2 kB / 1.116 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.483e-05/0.9364, allocations: 88.95 kB / 1.116 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.9364, allocations: 0 / 1.116 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.27e-05/0.9365, allocations: 0 / 1.116 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.997e-05/0.9365, allocations: 11.98 kB / 1.116 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.9365, allocations: 7.984 kB / 1.116 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.272e-05/0.9366, allocations: 96.55 kB / 1.116 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9366, allocations: 0 / 1.116 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002846/0.9369, allocations: 55.88 kB / 1.116 GB, free: 3.73 MB / 0.7136 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,or1.y,booPul3.y) * Number of discrete 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.0006684/0.9376, allocations: 0.673 MB / 1.117 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004641/0.938, allocations: 346.4 kB / 1.117 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.9381, allocations: 0 / 1.117 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.109e-05/0.9381, allocations: 31.94 kB / 1.117 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.9384, allocations: 25.53 kB / 1.117 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005078/0.9389, allocations: 154.9 kB / 1.117 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.9392, allocations: 0.702 MB / 1.118 GB, free: 1.688 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.268e-05/0.9393, allocations: 12.42 kB / 1.118 GB, free: 1.676 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.854e-05/0.9393, allocations: 23.44 kB / 1.118 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of SimCode: time 2.294e-06/0.9393, allocations: 0 / 1.118 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02453/0.9639, allocations: 2.965 MB / 1.121 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002094/0.9641, allocations: 137.9 kB / 1.121 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.57/2.535, allocations: 1.094 kB / 1.121 GB, free: 14.59 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Or3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Or3.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1)