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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.584/1.584, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001874/0.001874, allocations: 179.3 kB / 326.5 MB, free: 2.27 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.967/1.967, allocations: 205.4 MB / 0.5775 GB, free: 20.31 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.0008589/0.0008592, allocations: 100.4 kB / 0.6821 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004075/0.0004072, allocations: 9.812 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2976, allocations: 106.3 MB / 0.9002 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1941/0.4918, allocations: 131.5 MB / 1.029 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/0.4921, allocations: 67.97 kB / 1.029 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003383/0.4955, allocations: 1.161 MB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4955, allocations: 3.938 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.4955, allocations: 4 kB / 1.03 GB, free: 10.99 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000627/0.4962, allocations: 407 kB / 1.03 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/0.4962, allocations: 12.03 kB / 1.03 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.304e-05/0.4963, allocations: 38.55 kB / 1.03 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.44e-05/0.4963, allocations: 7.906 kB / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/0.4965, allocations: 174.9 kB / 1.03 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.4965, allocations: 4 kB / 1.03 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/0.4966, allocations: 7.984 kB / 1.03 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.4967, allocations: 65.62 kB / 1.03 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.4967, allocations: 3.984 kB / 1.03 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.4967, allocations: 0 / 1.03 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.4967, allocations: 0 / 1.03 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.741e-05/0.4968, allocations: 27.98 kB / 1.03 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005084/0.4973, allocations: 308.8 kB / 1.031 GB, free: 9.805 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.411e-05/0.4975, allocations: 54.5 kB / 1.031 GB, free: 9.742 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.136e-05/0.4975, allocations: 4 kB / 1.031 GB, free: 9.738 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001985/0.4977, allocations: 83.52 kB / 1.031 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.4977, allocations: 0 / 1.031 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.000296/0.498, allocations: 113.5 kB / 1.031 GB, free: 9.527 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/0.4981, allocations: 59.3 kB / 1.031 GB, free: 9.457 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.4982, allocations: 124.9 kB / 1.031 GB, free: 9.328 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.4982, allocations: 29.7 kB / 1.031 GB, free: 9.293 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.621e-05/0.4983, allocations: 88.14 kB / 1.031 GB, free: 9.203 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.4983, allocations: 16.19 kB / 1.031 GB, free: 9.188 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-06/0.4983, allocations: 4 kB / 1.031 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.4985, allocations: 318.8 kB / 1.032 GB, free: 8.863 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.006e-05/0.4985, allocations: 19.98 kB / 1.032 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.078e-05/0.4986, allocations: 57.36 kB / 1.032 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.275e-05/0.4986, allocations: 20 kB / 1.032 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.4986, allocations: 0 / 1.032 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001406/0.4988, allocations: 97.47 kB / 1.032 GB, free: 8.656 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.4988, allocations: 7.938 kB / 1.032 GB, free: 8.648 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.4988, allocations: 0 / 1.032 GB, free: 8.648 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.4989, allocations: 4 kB / 1.032 GB, free: 8.645 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.648e-05/0.4989, allocations: 20.02 kB / 1.032 GB, free: 8.625 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.499, allocations: 8 kB / 1.032 GB, free: 8.617 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.4991, allocations: 27.84 kB / 1.032 GB, free: 8.59 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.4991, allocations: 4 kB / 1.032 GB, free: 8.586 MB / 0.6823 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,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,or1.y,booPul3.y,$PRE.booPul3.pulseStart,booPul3.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001129/0.4992, allocations: 121.8 kB / 1.032 GB, free: 8.457 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.512e-05/0.4992, allocations: 7.906 kB / 1.032 GB, free: 8.449 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.75e-05/0.4993, allocations: 12.38 kB / 1.032 GB, free: 8.441 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.4993, allocations: 4 kB / 1.032 GB, free: 8.438 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.4993, allocations: 0 / 1.032 GB, free: 8.438 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.4993, allocations: 0 / 1.032 GB, free: 8.438 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.4995, allocations: 193.6 kB / 1.032 GB, free: 8.199 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4995, allocations: 0 / 1.032 GB, free: 8.199 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.298e-05/0.4995, allocations: 7.938 kB / 1.032 GB, free: 8.191 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.4995, allocations: 0 / 1.032 GB, free: 8.191 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.4995, allocations: 7.984 kB / 1.032 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.4996, allocations: 0 / 1.032 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.4996, allocations: 0 / 1.032 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.4997, allocations: 129.6 kB / 1.032 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.533e-05/0.4998, allocations: 85.09 kB / 1.032 GB, free: 7.938 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.4998, allocations: 4 kB / 1.032 GB, free: 7.934 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.4999, allocations: 23.97 kB / 1.032 GB, free: 7.91 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.876e-05/0.5, allocations: 15.98 kB / 1.032 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.5, allocations: 4 kB / 1.032 GB, free: 7.891 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.561e-05/0.5001, allocations: 95.27 kB / 1.033 GB, free: 7.797 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1e-07/0.5001, allocations: 0 / 1.033 GB, free: 7.797 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000185/0.5003, allocations: 16 kB / 1.033 GB, free: 7.781 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: 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 (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.000479/0.5008, allocations: 0.6631 MB / 1.033 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000147/0.5009, allocations: 67.86 kB / 1.033 GB, free: 7.02 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.5009, allocations: 0 / 1.033 GB, free: 7.02 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 7.637e-05/0.501, allocations: 31.98 kB / 1.033 GB, free: 6.988 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.5012, allocations: 24.69 kB / 1.033 GB, free: 6.965 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.5023, allocations: 1.029 MB / 1.034 GB, free: 5.867 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.5026, allocations: 0.6926 MB / 1.035 GB, free: 5.148 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.308e-05/0.5026, allocations: 12.55 kB / 1.035 GB, free: 5.133 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.266e-05/0.5027, allocations: 19.44 kB / 1.035 GB, free: 5.117 MB / 0.6823 GB Notification: Performance of SimCode: time 2.11e-07/0.5027, allocations: 0 / 1.035 GB, free: 5.117 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01219/0.5149, allocations: 2.029 MB / 1.037 GB, free: 3.227 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001596/0.5151, allocations: 181.2 kB / 1.037 GB, free: 2.992 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.657/2.172, allocations: 8 kB / 1.037 GB, free: 2.984 MB / 0.6823 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Or3.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1)