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.404/1.404, allocations: 249.5 MB / 257 MB, free: 6.918 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001109/0.001109, allocations: 184.9 kB / 316.3 MB, free: 3.262 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.555/1.555, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.0007683/0.0007682, allocations: 94.23 kB / 0.6714 GB, free: 5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.954e-05/1.967e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1745, allocations: 106.3 MB / 0.8853 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6314/0.8059, allocations: 132 MB / 1.014 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002049/0.8061, allocations: 74.33 kB / 1.014 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005973/0.8121, allocations: 2.129 MB / 1.016 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.243e-06/0.8122, allocations: 0 / 1.016 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.18e-05/0.8122, allocations: 4 kB / 1.016 GB, free: 3.461 MB / 0.6355 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.0007069/0.8129, allocations: 468.7 kB / 1.017 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.8129, allocations: 8.031 kB / 1.017 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.294e-05/0.813, allocations: 19.69 kB / 1.017 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.8133, allocations: 224.1 kB / 1.017 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.8133, allocations: 8 kB / 1.017 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.226e-05/0.8133, allocations: 8 kB / 1.017 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001886/0.8135, allocations: 91.33 kB / 1.017 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002248/0.8137, allocations: 145.8 kB / 1.017 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.8138, allocations: 3.938 kB / 1.017 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.8138, allocations: 0 / 1.017 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.443e-06/0.8138, allocations: 4 kB / 1.017 GB, free: 2.484 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009004/0.8147, allocations: 0.5698 MB / 1.018 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002444/0.815, allocations: 206 kB / 1.018 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.649e-05/0.8151, allocations: 52.11 kB / 1.018 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.8151, allocations: 4 kB / 1.018 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001744/0.8153, allocations: 126.5 kB / 1.018 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=20): time 1.543e-06/0.8153, allocations: 3.938 kB / 1.018 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20): time 0.0002669/0.8155, allocations: 147.4 kB / 1.018 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.8156, allocations: 67.08 kB / 1.018 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.8157, allocations: 150.5 kB / 1.019 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.8158, allocations: 25.7 kB / 1.019 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.156e-05/0.8158, allocations: 116.2 kB / 1.019 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.148e-05/0.8159, allocations: 35.45 kB / 1.019 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.555e-06/0.8159, allocations: 0 / 1.019 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.816, allocations: 330.2 kB / 1.019 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.595e-05/0.8161, allocations: 39.31 kB / 1.019 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.593e-05/0.8162, allocations: 102 kB / 1.019 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.007e-05/0.8162, allocations: 39.44 kB / 1.019 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.8162, allocations: 4 kB / 1.019 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002135/0.8165, allocations: 161.3 kB / 1.019 GB, free: 460 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.8165, allocations: 11.98 kB / 1.019 GB, free: 448 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.8165, allocations: 0 / 1.019 GB, free: 448 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.8165, allocations: 4 kB / 1.019 GB, free: 444 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.156e-05/0.8166, allocations: 15.75 kB / 1.019 GB, free: 432 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.8166, allocations: 7.984 kB / 1.019 GB, free: 424 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/0.8168, allocations: 40.14 kB / 1.019 GB, free: 384 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.8168, allocations: 8 kB / 1.019 GB, free: 376 kB / 0.6355 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 () * 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 9.957e-05/0.8169, allocations: 123.3 kB / 1.02 GB, free: 252 kB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002051/0.8172, allocations: 155 kB / 1.02 GB, free: 120 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/0.8172, allocations: 23.73 kB / 1.02 GB, free: 96 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.095e-05/0.8172, allocations: 23.44 kB / 1.02 GB, free: 84 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.8173, allocations: 4 kB / 1.02 GB, free: 80 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.8173, allocations: 0 / 1.02 GB, free: 80 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.8173, allocations: 0 / 1.02 GB, free: 80 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004995/0.8178, allocations: 458.9 kB / 1.02 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.8178, allocations: 0 / 1.02 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.36e-05/0.8178, allocations: 7.188 kB / 1.02 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.8178, allocations: 0 / 1.02 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.8179, allocations: 7.984 kB / 1.02 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.8179, allocations: 4 kB / 1.02 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.8179, allocations: 0 / 1.02 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/0.8181, allocations: 255.3 kB / 1.02 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.529e-05/0.8182, allocations: 88.92 kB / 1.021 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.8182, allocations: 3.953 kB / 1.021 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/0.8184, allocations: 42.83 kB / 1.021 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.486e-05/0.8185, allocations: 29.27 kB / 1.021 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.8185, allocations: 8 kB / 1.021 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.53e-05/0.8186, allocations: 116.7 kB / 1.021 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8186, allocations: 3.938 kB / 1.021 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002746/0.8189, allocations: 28 kB / 1.021 GB, free: 15.07 MB / 0.6511 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 () * 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.0005961/0.8195, allocations: 0.7879 MB / 1.022 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002151/0.8197, allocations: 127.7 kB / 1.022 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.8197, allocations: 0 / 1.022 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.8199, allocations: 73.02 kB / 1.022 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.8202, allocations: 39.16 kB / 1.022 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006648/0.8209, allocations: 287 kB / 1.022 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.8212, allocations: 0.7282 MB / 1.023 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.873e-05/0.8213, allocations: 33.83 kB / 1.023 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.056e-05/0.8214, allocations: 55.05 kB / 1.023 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of SimCode: time 4.81e-07/0.8214, allocations: 0 / 1.023 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02057/0.8419, allocations: 3.3 MB / 1.026 GB, free: 9.742 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00018/0.8422, allocations: 152.5 kB / 1.026 GB, free: 9.551 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.57/2.412, allocations: 3.938 kB / 1.026 GB, free: 9.547 MB / 0.6511 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)