Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.235/2.235, allocations: 248.7 MB / 256.2 MB, free: 7.051 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.001567/0.001567, allocations: 167.5 kB / 315.4 MB, free: 3.977 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.196/2.196, allocations: 205.3 MB / 0.5662 GB, free: 0.5781 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0011/0.0011, allocations: 95.98 kB / 0.6704 GB, free: 5.785 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.526e-05/2.539e-05, allocations: 4 kB / 0.7804 GB, free: 103.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1894/0.1894, allocations: 106.3 MB / 0.8841 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8582/1.048, allocations: 131.4 MB / 1.012 GB, free: 7.586 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/1.048, allocations: 70.77 kB / 1.013 GB, free: 7.547 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003622/1.052, allocations: 0.897 MB / 1.013 GB, free: 6.73 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.453e-06/1.052, allocations: 3.938 kB / 1.013 GB, free: 6.727 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.474e-06/1.052, allocations: 0 / 1.013 GB, free: 6.727 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005712/1.052, allocations: 356.7 kB / 1.014 GB, free: 6.34 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/1.052, allocations: 8.031 kB / 1.014 GB, free: 6.332 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.18e-05/1.052, allocations: 7.906 kB / 1.014 GB, free: 6.324 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/1.053, allocations: 175 kB / 1.014 GB, free: 6.113 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/1.053, allocations: 4 kB / 1.014 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/1.053, allocations: 0 / 1.014 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001257/1.053, allocations: 18.12 kB / 1.014 GB, free: 6.098 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/1.053, allocations: 52.17 kB / 1.014 GB, free: 6.047 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/1.053, allocations: 0 / 1.014 GB, free: 6.047 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/1.053, allocations: 0 / 1.014 GB, free: 6.047 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/1.053, allocations: 0 / 1.014 GB, free: 6.047 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004834/1.054, allocations: 269 kB / 1.014 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/1.054, allocations: 33.45 kB / 1.014 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.566e-05/1.054, allocations: 19.17 kB / 1.014 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/1.054, allocations: 0 / 1.014 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001704/1.054, allocations: 77.61 kB / 1.014 GB, free: 5.633 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.154e-06/1.054, allocations: 3.938 kB / 1.014 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002281/1.054, allocations: 60.38 kB / 1.014 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/1.054, allocations: 55.41 kB / 1.015 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/1.054, allocations: 107.6 kB / 1.015 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/1.054, allocations: 25.7 kB / 1.015 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.766e-05/1.054, allocations: 87.39 kB / 1.015 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.345e-05/1.054, allocations: 11.28 kB / 1.015 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.626e-06/1.055, allocations: 8 kB / 1.015 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001596/1.055, allocations: 321.9 kB / 1.015 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.225e-05/1.055, allocations: 11.56 kB / 1.015 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.208e-05/1.055, allocations: 28.77 kB / 1.015 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.482e-05/1.055, allocations: 20.42 kB / 1.015 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/1.055, allocations: 0 / 1.015 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001652/1.055, allocations: 68.72 kB / 1.015 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/1.055, allocations: 8 kB / 1.015 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/1.055, allocations: 0 / 1.015 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/1.055, allocations: 3.984 kB / 1.015 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.73e-05/1.055, allocations: 7.938 kB / 1.015 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/1.055, allocations: 4 kB / 1.015 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/1.055, allocations: 12.17 kB / 1.015 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/1.055, allocations: 8 kB / 1.015 GB, free: 4.785 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,nor1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.999e-05/1.056, allocations: 119.2 kB / 1.015 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001553/1.056, allocations: 69.47 kB / 1.015 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.698e-05/1.056, allocations: 11.28 kB / 1.015 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.819e-05/1.056, allocations: 12.61 kB / 1.015 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/1.056, allocations: 0 / 1.015 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/1.056, allocations: 0 / 1.015 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/1.056, allocations: 3.953 kB / 1.015 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000191/1.056, allocations: 151.8 kB / 1.016 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/1.056, allocations: 4 kB / 1.016 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.608e-05/1.056, allocations: 7.984 kB / 1.016 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/1.056, allocations: 0 / 1.016 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.589e-06/1.056, allocations: 0 / 1.016 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/1.056, allocations: 0 / 1.016 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/1.056, allocations: 4 kB / 1.016 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001961/1.056, allocations: 87.38 kB / 1.016 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.093e-05/1.056, allocations: 85.02 kB / 1.016 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/1.056, allocations: 0 / 1.016 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/1.057, allocations: 15.98 kB / 1.016 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.742e-05/1.057, allocations: 19.41 kB / 1.016 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/1.057, allocations: 4 kB / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001112/1.057, allocations: 90.28 kB / 1.016 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.51e-07/1.057, allocations: 0 / 1.016 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000272/1.057, allocations: 8 kB / 1.016 GB, free: 4.055 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,nor1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005347/1.058, allocations: 0.6377 MB / 1.016 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001559/1.058, allocations: 35.06 kB / 1.017 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.058, allocations: 4 kB / 1.017 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.866e-05/1.058, allocations: 18.88 kB / 1.017 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/1.058, allocations: 16.11 kB / 1.017 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004804/1.059, allocations: 123 kB / 1.017 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/1.059, allocations: 0.6962 MB / 1.017 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.133e-05/1.059, allocations: 7.859 kB / 1.017 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.833e-05/1.059, allocations: 22.05 kB / 1.017 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of SimCode: time 9.62e-07/1.059, allocations: 0 / 1.017 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04314/1.102, allocations: 1.277 MB / 1.019 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003316/1.103, allocations: 143.5 kB / 1.019 GB, free: 1 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.209/3.312, allocations: 0 / 1.019 GB, free: 1 MB / 0.6355 GB