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.Nor.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.Nor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.475/1.475, allocations: 249.5 MB / 257 MB, free: 6.895 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.001096/0.001096, allocations: 187.7 kB / 316.3 MB, free: 3.227 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.577/1.577, allocations: 205.3 MB / 0.5671 GB, free: 15.82 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.000848/0.000848, allocations: 90.22 kB / 0.6714 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.977e-05/1.953e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.1912, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.69/0.8813, allocations: 131.7 MB / 1.014 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/0.8816, allocations: 70.89 kB / 1.014 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00253/0.8842, allocations: 0.8933 MB / 1.015 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.214e-06/0.8842, allocations: 0 / 1.015 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.423e-06/0.8842, allocations: 0 / 1.015 GB, free: 4.883 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.0005288/0.8847, allocations: 358.2 kB / 1.015 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/0.8848, allocations: 8.031 kB / 1.015 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.791e-05/0.8848, allocations: 11.41 kB / 1.015 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.885, allocations: 178.6 kB / 1.015 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.8851, allocations: 0 / 1.015 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/0.8851, allocations: 4 kB / 1.015 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.416e-05/0.8852, allocations: 15.5 kB / 1.015 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.88e-05/0.8853, allocations: 52.56 kB / 1.015 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.8853, allocations: 4 kB / 1.015 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.8853, allocations: 0 / 1.015 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.8853, allocations: 0 / 1.015 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004563/0.8858, allocations: 255.6 kB / 1.016 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.206e-05/0.8859, allocations: 37.7 kB / 1.016 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.838e-05/0.886, allocations: 23.3 kB / 1.016 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.886, allocations: 0 / 1.016 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001657/0.8862, allocations: 74.39 kB / 1.016 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.976e-06/0.8862, allocations: 0 / 1.016 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002163/0.8864, allocations: 63.05 kB / 1.016 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.711e-05/0.8865, allocations: 55.41 kB / 1.016 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.8866, allocations: 107.9 kB / 1.016 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.8867, allocations: 29.7 kB / 1.016 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.495e-05/0.8867, allocations: 87.08 kB / 1.016 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.8868, allocations: 11.5 kB / 1.016 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-06/0.8868, allocations: 0 / 1.016 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002027/0.887, allocations: 325.7 kB / 1.016 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.269e-05/0.887, allocations: 14.38 kB / 1.016 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.901e-05/0.8871, allocations: 30.7 kB / 1.017 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.908e-05/0.8872, allocations: 18.61 kB / 1.017 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.8872, allocations: 0 / 1.017 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001263/0.8873, allocations: 73.11 kB / 1.017 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.8873, allocations: 8 kB / 1.017 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.8873, allocations: 0 / 1.017 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.8874, allocations: 0 / 1.017 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.138e-05/0.8874, allocations: 7.25 kB / 1.017 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.8875, allocations: 192 / 1.017 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.627e-05/0.8876, allocations: 20.05 kB / 1.017 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.477e-06/0.8876, allocations: 7.938 kB / 1.017 GB, free: 2.934 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 0.0001274/0.8877, allocations: 108.9 kB / 1.017 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001242/0.8879, allocations: 72.84 kB / 1.017 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.102e-05/0.8879, allocations: 3.906 kB / 1.017 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.637e-05/0.8879, allocations: 16.36 kB / 1.017 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.8879, allocations: 0 / 1.017 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.888, allocations: 7.938 kB / 1.017 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.888, allocations: 0 / 1.017 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002177/0.8882, allocations: 156.2 kB / 1.017 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.8882, allocations: 0 / 1.017 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.029e-05/0.8882, allocations: 7.984 kB / 1.017 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.8882, allocations: 0 / 1.017 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.8883, allocations: 0.875 kB / 1.017 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.8883, allocations: 0 / 1.017 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.8883, allocations: 0 / 1.017 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.8885, allocations: 97.52 kB / 1.017 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.569e-05/0.8885, allocations: 85.02 kB / 1.017 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.8886, allocations: 0 / 1.017 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.655e-05/0.8886, allocations: 19.22 kB / 1.017 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.234e-05/0.8887, allocations: 11.36 kB / 1.017 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-06/0.8887, allocations: 4 kB / 1.017 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.64e-05/0.8888, allocations: 86.47 kB / 1.017 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8888, allocations: 0 / 1.017 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002007/0.889, allocations: 12 kB / 1.017 GB, free: 2.207 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.0004197/0.8895, allocations: 0.632 MB / 1.018 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001163/0.8896, allocations: 45.11 kB / 1.018 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.8896, allocations: 0 / 1.018 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.407e-05/0.8896, allocations: 26.5 kB / 1.018 GB, free: 1.512 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.8899, allocations: 14.17 kB / 1.018 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003774/0.8902, allocations: 124.5 kB / 1.018 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.8905, allocations: 0.6846 MB / 1.019 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.872e-05/0.8906, allocations: 7.859 kB / 1.019 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.407e-05/0.8906, allocations: 21.73 kB / 1.019 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of SimCode: time 2.5e-07/0.8906, allocations: 7.938 kB / 1.019 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01885/0.9095, allocations: 1.275 MB / 1.02 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001796/0.9097, allocations: 158.6 kB / 1.02 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.389/2.299, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Nor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Nor.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1)