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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 194.1 kB / 16.53 MB, free: 6.664 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.677/1.677, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.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.934/1.934, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001477/0.001477, allocations: 69.05 kB / 0.6716 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2877, allocations: 114.5 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002451/0.2903, allocations: 0.8531 MB / 0.7843 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002065/0.2923, allocations: 1.468 MB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.541e-05/0.2924, allocations: 7.938 kB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001416/0.2926, allocations: 23.8 kB / 0.7858 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.833e-05/0.2927, allocations: 31.7 kB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.294, allocations: 0.5177 MB / 0.7863 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008026/0.2948, allocations: 495.3 kB / 0.7868 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001798/0.295, allocations: 41.47 kB / 0.7868 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003283/0.2954, allocations: 183.6 kB / 0.787 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002031/0.2956, allocations: 151.5 kB / 0.7872 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.22e-05/0.2957, allocations: 44 kB / 0.7872 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.2958, allocations: 44 kB / 0.7872 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.529e-05/0.2959, allocations: 47.84 kB / 0.7873 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002005/0.2961, allocations: 163.5 kB / 0.7874 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004466/0.2965, allocations: 403.2 kB / 0.7878 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2966, allocations: 0 / 0.7878 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2966, allocations: 0 / 0.7878 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.2966, allocations: 0 / 0.7878 GB, free: 8.906 MB / 0.6075 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.0008387/0.2974, allocations: 0.6515 MB / 0.7885 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.2975, allocations: 8.031 kB / 0.7885 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.348e-05/0.2975, allocations: 50.73 kB / 0.7885 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.513e-05/0.2976, allocations: 28.75 kB / 0.7885 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003374/0.298, allocations: 267.9 kB / 0.7888 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.916e-05/0.298, allocations: 20.38 kB / 0.7888 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.446e-05/0.2981, allocations: 32.36 kB / 0.7888 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002512/0.2984, allocations: 151.8 kB / 0.789 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.2984, allocations: 3.938 kB / 0.789 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.2984, allocations: 4 kB / 0.789 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.2984, allocations: 8 kB / 0.789 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.2985, allocations: 82.94 kB / 0.7891 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009638/0.2995, allocations: 0.7109 MB / 0.7898 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002205/0.2998, allocations: 171.6 kB / 0.7899 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.558e-05/0.2998, allocations: 48.83 kB / 0.79 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.228e-06/0.2999, allocations: 0 / 0.79 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003383/0.3002, allocations: 155.2 kB / 0.7901 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=20): time 1.382e-06/0.3002, allocations: 0 / 0.7901 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20): time 0.0004837/0.3007, allocations: 244.2 kB / 0.7904 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/0.3008, allocations: 59.39 kB / 0.7904 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.3009, allocations: 186.2 kB / 0.7906 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.42e-05/0.301, allocations: 41.64 kB / 0.7906 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.3011, allocations: 124.5 kB / 0.7908 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.854e-05/0.3012, allocations: 47.44 kB / 0.7908 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000206/0.3014, allocations: 117.6 kB / 0.7909 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.3015, allocations: 330.8 kB / 0.7912 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003169/0.3018, allocations: 155.8 kB / 0.7914 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003678/0.3022, allocations: 238.1 kB / 0.7916 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004719/0.3027, allocations: 404.4 kB / 0.792 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.3027, allocations: 0 / 0.792 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001004/0.3037, allocations: 0.6189 MB / 0.7926 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001293/0.3039, allocations: 164.4 kB / 0.7928 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.3039, allocations: 8 kB / 0.7928 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.3039, allocations: 4 kB / 0.7928 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.544e-05/0.3039, allocations: 11.92 kB / 0.7928 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.304, allocations: 4 kB / 0.7928 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008602/0.3048, allocations: 151.7 kB / 0.7929 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.997e-05/0.3049, allocations: 35.97 kB / 0.793 GB, free: 3.184 MB / 0.6075 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.0001994/0.3051, allocations: 151.1 kB / 0.7931 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-05/0.3051, allocations: 23.75 kB / 0.7931 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.619e-05/0.3052, allocations: 17.88 kB / 0.7931 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.3052, allocations: 4 kB / 0.7932 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.3052, allocations: 3.938 kB / 0.7932 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.3052, allocations: 3.984 kB / 0.7932 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006702/0.3059, allocations: 0.5023 MB / 0.7937 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3059, allocations: 0 / 0.7937 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.091e-05/0.3059, allocations: 7.938 kB / 0.7937 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.306, allocations: 4 kB / 0.7937 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.306, allocations: 11.98 kB / 0.7937 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.306, allocations: 0 / 0.7937 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.306, allocations: 0 / 0.7937 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003055/0.3063, allocations: 281.8 kB / 0.7939 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.884e-05/0.3064, allocations: 96.84 kB / 0.794 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.618e-05/0.3064, allocations: 11.88 kB / 0.794 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.246e-05/0.3065, allocations: 4 kB / 0.794 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.864e-05/0.3065, allocations: 27.95 kB / 0.7941 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.3066, allocations: 8 kB / 0.7941 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.041e-05/0.3067, allocations: 120.2 kB / 0.7942 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3067, allocations: 0 / 0.7942 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003696/0.307, allocations: 87.89 kB / 0.7943 GB, free: 1.734 MB / 0.6075 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.0006687/0.3077, allocations: 0.8266 MB / 0.7951 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008635/0.3086, allocations: 0.6322 MB / 0.7957 GB, free: 196 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.3086, allocations: 0 / 0.7957 GB, free: 196 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001514/0.3088, allocations: 75.91 kB / 0.7958 GB, free: 120 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004278/0.3092, allocations: 63.22 kB / 0.7958 GB, free: 60 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004335/0.3135, allocations: 2.988 MB / 0.7988 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004821/0.3141, allocations: 0.7281 MB / 0.7995 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000107/0.3142, allocations: 21.55 kB / 0.7995 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.3143, allocations: 59.42 kB / 0.7995 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of SimCode: time 1.192e-06/0.3143, allocations: 0 / 0.7995 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02926/0.3436, allocations: 6.299 MB / 0.8057 GB, free: 5.883 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.062/8.406, allocations: 17.62 kB / 0.8057 GB, free: 5.871 MB / 0.6231 GB (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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1)