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.MultiAnd.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.MultiAnd,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",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.353/1.353, allocations: 251.9 MB / 266.9 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.001175/0.001175, allocations: 183 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.079/2.079, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0009852/0.0009852, allocations: 96.44 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004028/0.0004027, allocations: 14.19 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2786, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1816/0.4602, allocations: 131.7 MB / 1.029 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/0.4605, allocations: 75.89 kB / 1.029 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006197/0.4667, allocations: 2.149 MB / 1.031 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.255e-06/0.4668, allocations: 0 / 1.031 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.111e-05/0.4668, allocations: 4 kB / 1.031 GB, free: 9.66 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0007616/0.4676, allocations: 484.8 kB / 1.031 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.4676, allocations: 12.03 kB / 1.031 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.557e-05/0.4677, allocations: 46.55 kB / 1.032 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.082e-05/0.4677, allocations: 19.81 kB / 1.032 GB, free: 9.051 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002797/0.468, allocations: 229.6 kB / 1.032 GB, free: 8.789 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.4681, allocations: 12 kB / 1.032 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.4681, allocations: 12 kB / 1.032 GB, free: 8.766 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002783/0.4684, allocations: 159.3 kB / 1.032 GB, free: 8.598 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.4684, allocations: 0 / 1.032 GB, free: 8.598 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.4684, allocations: 4 kB / 1.032 GB, free: 8.594 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.4684, allocations: 4 kB / 1.032 GB, free: 8.59 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001853/0.4686, allocations: 103.9 kB / 1.032 GB, free: 8.488 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/0.4696, allocations: 0.6137 MB / 1.033 GB, free: 7.82 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002723/0.4699, allocations: 215.6 kB / 1.033 GB, free: 7.582 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.4699, allocations: 0 / 1.033 GB, free: 7.582 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002043/0.4702, allocations: 131.2 kB / 1.033 GB, free: 7.441 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=20): time 1.343e-06/0.4702, allocations: 0 / 1.033 GB, free: 7.441 MB / 0.6823 GB Notification: Performance of matching and sorting (n=20): time 0.0003907/0.4706, allocations: 214.9 kB / 1.033 GB, free: 7.227 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/0.4706, allocations: 59.41 kB / 1.033 GB, free: 7.156 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.4708, allocations: 156.1 kB / 1.033 GB, free: 7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.832e-05/0.4708, allocations: 33.7 kB / 1.033 GB, free: 6.961 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.168e-05/0.4709, allocations: 116.5 kB / 1.034 GB, free: 6.84 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.822e-05/0.4709, allocations: 43.72 kB / 1.034 GB, free: 6.797 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.035e-05/0.471, allocations: 8 kB / 1.034 GB, free: 6.789 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.4711, allocations: 330.9 kB / 1.034 GB, free: 6.457 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.75e-05/0.4712, allocations: 55.84 kB / 1.034 GB, free: 6.402 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.4713, allocations: 102 kB / 1.034 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.375e-05/0.4714, allocations: 41.53 kB / 1.034 GB, free: 6.242 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.4714, allocations: 4 kB / 1.034 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002618/0.4717, allocations: 190.9 kB / 1.034 GB, free: 6.047 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.4717, allocations: 8 kB / 1.034 GB, free: 6.039 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.4717, allocations: 0 / 1.034 GB, free: 6.039 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.4718, allocations: 4 kB / 1.034 GB, free: 6.035 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.555e-05/0.4718, allocations: 11.98 kB / 1.034 GB, free: 6.023 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.4719, allocations: 11.88 kB / 1.034 GB, free: 6.012 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.4721, allocations: 40.16 kB / 1.034 GB, free: 5.973 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.4721, allocations: 8 kB / 1.034 GB, free: 5.965 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mulAnd2.u[1],mulAnd2.u[2],mulAnd2.y,mulAnd5.u[3],mulAnd5.u[4],mulAnd5.u[5],mulAnd5.y,mulAnd5.uTemp[2],mulAnd5.uTemp[3],mulAnd5.uTemp[4],$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,$PRE.booPul3.pulseStart,booPul3.pulseStart,$PRE.booPul4.pulseStart,booPul4.pulseStart,$PRE.booPul5.pulseStart,booPul5.pulseStart,mulAnd0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001878/0.4723, allocations: 148 kB / 1.034 GB, free: 5.809 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.751e-05/0.4723, allocations: 19.8 kB / 1.035 GB, free: 5.789 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.534e-05/0.4724, allocations: 25.19 kB / 1.035 GB, free: 5.77 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.4724, allocations: 3.938 kB / 1.035 GB, free: 5.766 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.4724, allocations: 0 / 1.035 GB, free: 5.766 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.4724, allocations: 4 kB / 1.035 GB, free: 5.762 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005897/0.473, allocations: 0.4968 MB / 1.035 GB, free: 5.211 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.473, allocations: 0 / 1.035 GB, free: 5.211 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.126e-05/0.473, allocations: 7.922 kB / 1.035 GB, free: 5.203 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.4731, allocations: 4 kB / 1.035 GB, free: 5.199 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.4731, allocations: 0 / 1.035 GB, free: 5.199 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.4731, allocations: 4 kB / 1.035 GB, free: 5.195 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.4731, allocations: 4 kB / 1.035 GB, free: 5.191 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000268/0.4734, allocations: 263.2 kB / 1.035 GB, free: 4.918 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.363e-05/0.4734, allocations: 88.92 kB / 1.035 GB, free: 4.812 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.4735, allocations: 7.984 kB / 1.035 GB, free: 4.805 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.4737, allocations: 39.97 kB / 1.035 GB, free: 4.766 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.214e-05/0.4738, allocations: 27.95 kB / 1.035 GB, free: 4.738 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.4738, allocations: 11.98 kB / 1.035 GB, free: 4.727 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.979e-05/0.4739, allocations: 116.5 kB / 1.036 GB, free: 4.613 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4739, allocations: 0 / 1.036 GB, free: 4.613 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002499/0.4741, allocations: 43.98 kB / 1.036 GB, free: 4.57 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: 20 (mulAnd5.uTemp[2],$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mulAnd2.u[1],mulAnd2.u[2],mulAnd2.y,mulAnd5.u[3],mulAnd5.u[4],mulAnd5.u[5],mulAnd5.y,mulAnd5.uTemp[3],mulAnd5.uTemp[4],booPul1.pulseStart,booPul2.pulseStart,booPul3.pulseStart,booPul4.pulseStart,booPul5.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0005845/0.4747, allocations: 0.8076 MB / 1.036 GB, free: 3.734 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002419/0.475, allocations: 143.8 kB / 1.037 GB, free: 3.594 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.475, allocations: 0 / 1.037 GB, free: 3.594 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.4751, allocations: 75.03 kB / 1.037 GB, free: 3.523 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/0.4754, allocations: 43.91 kB / 1.037 GB, free: 3.48 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001772/0.4772, allocations: 1.88 MB / 1.038 GB, free: 1.516 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.4776, allocations: 0.7325 MB / 1.039 GB, free: 0.7578 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001071/0.4777, allocations: 41.44 kB / 1.039 GB, free: 0.7188 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.901e-05/0.4778, allocations: 51.42 kB / 1.039 GB, free: 0.668 MB / 0.6823 GB Notification: Performance of SimCode: time 3.1e-07/0.4778, allocations: 4 kB / 1.039 GB, free: 0.6641 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01524/0.4931, allocations: 3.653 MB / 1.043 GB, free: 13.18 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001883/0.4933, allocations: 195 kB / 1.043 GB, free: 12.94 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.519/2.013, allocations: 4 kB / 1.043 GB, free: 12.93 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1)