Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Or3.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Obsolete.Controls.OBC.CDL.Logical.Validation.Or3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Or3") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Or3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Or3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008367/0.0008365, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.00664/0.00664, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.906/2.906, allocations: 473.4 MB / 0.7469 GB, free: 5.988 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003642/0.0003642, allocations: 14.56 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.3942, allocations: 162.2 MB / 1.074 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Or3): time 0.001144/0.3954, allocations: 451.7 kB / 1.075 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00189/0.3973, allocations: 1.295 MB / 1.076 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.707e-05/0.3974, allocations: 7.938 kB / 1.076 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.741e-05/0.3974, allocations: 3.938 kB / 1.076 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.325e-05/0.3975, allocations: 7.922 kB / 1.076 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007388/0.3983, allocations: 296.8 kB / 1.076 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002327/0.3985, allocations: 223.6 kB / 1.076 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.3986, allocations: 20.16 kB / 1.076 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.3987, allocations: 87.8 kB / 1.076 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.3989, allocations: 63.84 kB / 1.077 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.782e-05/0.3989, allocations: 16 kB / 1.077 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.676e-05/0.399, allocations: 27.98 kB / 1.077 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.794e-05/0.399, allocations: 11.92 kB / 1.077 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.3992, allocations: 105.4 kB / 1.077 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002526/0.3994, allocations: 199.7 kB / 1.077 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3994, allocations: 0 / 1.077 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.577e-06/0.3994, allocations: 0 / 1.077 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.3995, allocations: 7.938 kB / 1.077 GB, free: 4.664 MB / 0.8262 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.0005126/0.4, allocations: 452.4 kB / 1.077 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.4, allocations: 12.03 kB / 1.077 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.586e-05/0.4001, allocations: 16.84 kB / 1.077 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.4002, allocations: 176.2 kB / 1.078 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.4003, allocations: 12.38 kB / 1.078 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.494e-05/0.4003, allocations: 12.38 kB / 1.078 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.4005, allocations: 58.23 kB / 1.078 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.4005, allocations: 3.938 kB / 1.078 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.4005, allocations: 0 / 1.078 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.4005, allocations: 3.984 kB / 1.078 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.823e-05/0.4006, allocations: 20 kB / 1.078 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005897/0.4012, allocations: 428.3 kB / 1.078 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.669e-05/0.4012, allocations: 38.56 kB / 1.078 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.619e-05/0.4013, allocations: 20.94 kB / 1.078 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.444e-06/0.4013, allocations: 0 / 1.078 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002084/0.4015, allocations: 107.2 kB / 1.078 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.4015, allocations: 0 / 1.078 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0003094/0.4018, allocations: 137.5 kB / 1.078 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.4019, allocations: 55.41 kB / 1.078 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.402, allocations: 132.5 kB / 1.078 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.286e-05/0.4021, allocations: 33.7 kB / 1.079 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.594e-05/0.4022, allocations: 100 kB / 1.079 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.4022, allocations: 19.88 kB / 1.079 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.496e-05/0.4022, allocations: 29.7 kB / 1.079 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.4024, allocations: 326.8 kB / 1.079 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001906/0.4026, allocations: 91.95 kB / 1.079 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002012/0.4028, allocations: 130 kB / 1.079 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002718/0.4031, allocations: 235 kB / 1.079 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.4031, allocations: 384 / 1.079 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005695/0.4036, allocations: 374.6 kB / 1.08 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.869e-05/0.4037, allocations: 101.1 kB / 1.08 GB, free: 1.266 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.4037, allocations: 4 kB / 1.08 GB, free: 1.262 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.4038, allocations: 7.938 kB / 1.08 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.911e-05/0.4038, allocations: 15.86 kB / 1.08 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.4038, allocations: 0 / 1.08 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005815/0.4044, allocations: 119.8 kB / 1.08 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.042e-05/0.4044, allocations: 15.98 kB / 1.08 GB, free: 1.105 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul3.y,$PRE.booPul3.y,or1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001238/0.4046, allocations: 137.7 kB / 1.08 GB, free: 0.9609 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.347e-05/0.4046, allocations: 7.906 kB / 1.08 GB, free: 0.9531 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.148e-05/0.4046, allocations: 12.38 kB / 1.08 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.4046, allocations: 0 / 1.08 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.4047, allocations: 0 / 1.08 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.4047, allocations: 0 / 1.08 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001566/0.4048, allocations: 193.5 kB / 1.08 GB, free: 0.7031 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4048, allocations: 8 kB / 1.08 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.287e-06/0.4049, allocations: 0 / 1.08 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.4049, allocations: 0 / 1.08 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.4049, allocations: 8 kB / 1.08 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.4049, allocations: 0 / 1.08 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.4049, allocations: 0 / 1.08 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001772/0.4051, allocations: 136.9 kB / 1.081 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.623e-05/0.4051, allocations: 88.95 kB / 1.081 GB, free: 440 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.4051, allocations: 4 kB / 1.081 GB, free: 436 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.643e-05/0.4052, allocations: 7.984 kB / 1.081 GB, free: 428 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.345e-05/0.4052, allocations: 11.98 kB / 1.081 GB, free: 416 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-06/0.4052, allocations: 4 kB / 1.081 GB, free: 412 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.483e-05/0.4053, allocations: 101.1 kB / 1.081 GB, free: 312 kB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4053, allocations: 0 / 1.081 GB, free: 312 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002503/0.4056, allocations: 36 kB / 1.081 GB, free: 276 kB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001548/0.4057, allocations: 117 kB / 1.081 GB, free: 152 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000475/0.4062, allocations: 358 kB / 1.081 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4062, allocations: 4 kB / 1.081 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 6.187e-05/0.4063, allocations: 39.95 kB / 1.081 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/0.4066, allocations: 25.52 kB / 1.081 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004126/0.407, allocations: 215.8 kB / 1.081 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.4073, allocations: 0.6926 MB / 1.082 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.465e-05/0.4073, allocations: 12.42 kB / 1.082 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.134e-05/0.4073, allocations: 15.44 kB / 1.082 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.4073, allocations: 0 / 1.082 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of Templates: time 0.005497/0.4128, allocations: 2.49 MB / 1.085 GB, free: 12.25 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Or3.makefile (rm -f Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Or3.sim & ./Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Or3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1)