Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 100.2 kB / 16.36 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002109/0.002109, allocations: 198.3 kB / 17.3 MB, free: 5.801 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.524/1.524, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.922/1.922, allocations: 292.3 MB / 0.5496 GB, free: 17.49 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001492, allocations: 68.23 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.236, allocations: 114.5 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002396/0.2384, allocations: 0.8529 MB / 0.7856 GB, free: 2.328 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001962/0.2404, allocations: 1.464 MB / 0.7871 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.939e-05/0.2405, allocations: 8 kB / 0.7871 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001207/0.2406, allocations: 15.81 kB / 0.7871 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.62e-05/0.2407, allocations: 31.7 kB / 0.7871 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00125/0.2419, allocations: 0.5218 MB / 0.7876 GB, free: 292 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.5452/0.7871, allocations: 0.4908 MB / 0.7881 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002883/0.7875, allocations: 38.14 kB / 0.7881 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004057/0.7879, allocations: 183.1 kB / 0.7883 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002853/0.7882, allocations: 181.3 kB / 0.7885 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.86e-05/0.7883, allocations: 40.97 kB / 0.7885 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001602/0.7885, allocations: 55.11 kB / 0.7886 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.855e-05/0.7885, allocations: 38.47 kB / 0.7886 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002072/0.7887, allocations: 158.6 kB / 0.7888 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005138/0.7893, allocations: 418.5 kB / 0.7892 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.7893, allocations: 0 / 0.7892 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.316e-06/0.7893, allocations: 0 / 0.7892 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.338e-06/0.7893, allocations: 0 / 0.7892 GB, free: 46.55 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007352/0.79, allocations: 0.6398 MB / 0.7898 GB, free: 46 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.7901, allocations: 10.5 kB / 0.7898 GB, free: 46 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.7902, allocations: 28.44 kB / 0.7898 GB, free: 46 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003007/0.7905, allocations: 265.5 kB / 0.7901 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.7905, allocations: 19.03 kB / 0.7901 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.896e-05/0.7906, allocations: 34.09 kB / 0.7901 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002328/0.7909, allocations: 153.5 kB / 0.7903 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.7909, allocations: 1.5 kB / 0.7903 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.7909, allocations: 7.094 kB / 0.7903 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.7909, allocations: 5.312 kB / 0.7903 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.791, allocations: 84.03 kB / 0.7904 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007759/0.7918, allocations: 0.7036 MB / 0.7911 GB, free: 45.37 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.792, allocations: 173.4 kB / 0.7912 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.348e-05/0.7921, allocations: 51.89 kB / 0.7913 GB, free: 45.24 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.7921, allocations: 2.625 kB / 0.7913 GB, free: 45.24 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002716/0.7924, allocations: 163.7 kB / 0.7914 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=20): time 1.533e-06/0.7924, allocations: 0 / 0.7914 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20): time 0.0004365/0.7928, allocations: 244.3 kB / 0.7917 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.7929, allocations: 58.03 kB / 0.7917 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.793, allocations: 186.7 kB / 0.7919 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.33e-05/0.7931, allocations: 37.33 kB / 0.7919 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.72e-05/0.7932, allocations: 131.6 kB / 0.7921 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.7932, allocations: 33.52 kB / 0.7921 GB, free: 44.83 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001577/0.7934, allocations: 113.9 kB / 0.7922 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.054e-05/0.7934, allocations: 329.2 kB / 0.7925 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003003/0.7937, allocations: 160.2 kB / 0.7927 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003225/0.7941, allocations: 234.6 kB / 0.7929 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000376/0.7945, allocations: 416.9 kB / 0.7933 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.7945, allocations: 4.281 kB / 0.7933 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008047/0.7953, allocations: 0.6156 MB / 0.7939 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.967e-05/0.7954, allocations: 167.4 kB / 0.794 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.7954, allocations: 3.938 kB / 0.7941 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.7954, allocations: 10.47 kB / 0.7941 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.429e-05/0.7954, allocations: 5.656 kB / 0.7941 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.7954, allocations: 4.906 kB / 0.7941 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007123/0.7962, allocations: 143.5 kB / 0.7942 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.95e-05/0.7962, allocations: 36.22 kB / 0.7942 GB, free: 43.79 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulAnd5.uTemp[4],mulAnd5.uTemp[3],mulAnd5.uTemp[2],mulAnd5.y,mulAnd2.y,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): 21 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001638/0.7964, allocations: 150.6 kB / 0.7944 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.7964, allocations: 15.69 kB / 0.7944 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.652e-05/0.7965, allocations: 24.28 kB / 0.7944 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.7965, allocations: 3.625 kB / 0.7944 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.7965, allocations: 0 / 0.7944 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.7965, allocations: 3.531 kB / 0.7944 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004852/0.797, allocations: 0.512 MB / 0.7949 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.797, allocations: 3.469 kB / 0.7949 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.884e-05/0.7971, allocations: 6.188 kB / 0.7949 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.7971, allocations: 3.938 kB / 0.7949 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.7971, allocations: 10.19 kB / 0.795 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.7971, allocations: 0 / 0.795 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.7971, allocations: 0 / 0.795 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002458/0.7973, allocations: 285.4 kB / 0.7952 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.27e-05/0.7974, allocations: 88.36 kB / 0.7953 GB, free: 43.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.7974, allocations: 9.297 kB / 0.7953 GB, free: 43.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.731e-05/0.7975, allocations: 2.969 kB / 0.7953 GB, free: 43.11 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.634e-05/0.7976, allocations: 20.17 kB / 0.7953 GB, free: 43.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.7976, allocations: 14.45 kB / 0.7954 GB, free: 43.1 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.579e-05/0.7976, allocations: 125.3 kB / 0.7955 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7977, allocations: 0 / 0.7955 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003546/0.798, allocations: 81.69 kB / 0.7956 GB, free: 43.02 MB / 0.6544 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],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulAnd2.y,mulAnd5.y,mulAnd5.uTemp[3],mulAnd5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001669/0.7982, allocations: 117.6 kB / 0.7957 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006499/0.7989, allocations: 0.6209 MB / 0.7963 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.7989, allocations: 0 / 0.7963 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.663e-05/0.799, allocations: 74.55 kB / 0.7963 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004235/0.7994, allocations: 58.45 kB / 0.7964 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005336/0.7999, allocations: 317.6 kB / 0.7967 GB, free: 42.44 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001787/0.8001, allocations: 0.723 MB / 0.7974 GB, free: 41.74 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.135e-05/0.8002, allocations: 23.09 kB / 0.7974 GB, free: 41.74 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.471e-05/0.8002, allocations: 21.78 kB / 0.7975 GB, free: 41.73 MB / 0.6544 GB Notification: Performance of SimCode: time 2.9e-07/0.8003, allocations: 4 kB / 0.7975 GB, free: 41.73 MB / 0.6544 GB Notification: Performance of Templates: time 0.009315/0.8096, allocations: 4.561 MB / 0.8019 GB, free: 41.48 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1)