Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.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.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001881/0.001881, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002321/0.002321, allocations: 189.9 kB / 16.25 MB, free: 6.629 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.525/1.525, allocations: 222.9 MB / 239.9 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.016/3.016, allocations: 472.6 MB / 0.7448 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001277, allocations: 72.58 kB / 0.9115 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3939/0.3952, allocations: 159.9 MB / 1.068 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.00211/0.3973, allocations: 0.706 MB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001587/0.3989, allocations: 1.19 MB / 1.07 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.642e-05/0.399, allocations: 0 / 1.07 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.934e-05/0.3991, allocations: 7.938 kB / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.192e-05/0.3992, allocations: 11.91 kB / 1.07 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006449/0.3998, allocations: 198.3 kB / 1.07 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002026/0.4, allocations: 183.7 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.987e-05/0.4001, allocations: 15.98 kB / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.45e-05/0.4002, allocations: 67.88 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.989e-05/0.4003, allocations: 47.88 kB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.259e-05/0.4004, allocations: 16 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.49e-05/0.4005, allocations: 31.97 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.03e-05/0.4005, allocations: 7.938 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.4006, allocations: 55.89 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.4008, allocations: 151.6 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.4008, allocations: 8 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4008, allocations: 0 / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.4008, allocations: 0 / 1.07 GB, free: 8.047 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006302/0.4015, allocations: 438.9 kB / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.4015, allocations: 12.03 kB / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.145e-05/0.4016, allocations: 8.844 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.4018, allocations: 164.4 kB / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.4018, allocations: 8.359 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.089e-05/0.4018, allocations: 12.38 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.4019, allocations: 50.25 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.402, allocations: 192 / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.402, allocations: 3.938 kB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.402, allocations: 3.984 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.263e-05/0.402, allocations: 19.92 kB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000491/0.4025, allocations: 356.7 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.976e-05/0.4026, allocations: 38.52 kB / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.863e-05/0.4027, allocations: 20.94 kB / 1.071 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.009e-05/0.4027, allocations: 0 / 1.071 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002015/0.4029, allocations: 83.3 kB / 1.071 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.173e-06/0.4029, allocations: 0 / 1.071 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.000239/0.4032, allocations: 101.6 kB / 1.072 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.4032, allocations: 51.41 kB / 1.072 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.431e-05/0.4033, allocations: 121.8 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/0.4034, allocations: 29.7 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.798e-05/0.4034, allocations: 96.05 kB / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.801e-05/0.4035, allocations: 11.89 kB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.141e-05/0.4036, allocations: 53.67 kB / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.4037, allocations: 318.8 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.4038, allocations: 63.91 kB / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.404, allocations: 100.6 kB / 1.072 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.4042, allocations: 159.6 kB / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.4042, allocations: 0 / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004181/0.4046, allocations: 268.7 kB / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.198e-05/0.4047, allocations: 67.41 kB / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.4047, allocations: 0 / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.4047, allocations: 3.984 kB / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.062e-05/0.4047, allocations: 4 kB / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.4047, allocations: 3.938 kB / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003537/0.4051, allocations: 55.97 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.501e-05/0.4051, allocations: 19.98 kB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,nand1.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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 9.756e-05/0.4052, allocations: 125.7 kB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.061e-05/0.4052, allocations: 0 / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.293e-05/0.4053, allocations: 16.36 kB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.4053, allocations: 0 / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.4053, allocations: 0 / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.4053, allocations: 0 / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.4054, allocations: 177.5 kB / 1.073 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4055, allocations: 4 kB / 1.073 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.003e-05/0.4055, allocations: 4 kB / 1.073 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.4055, allocations: 3.984 kB / 1.073 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.4055, allocations: 0 / 1.073 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4055, allocations: 0 / 1.073 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.4055, allocations: 0 / 1.073 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000149/0.4057, allocations: 117 kB / 1.073 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.902e-05/0.4057, allocations: 81.02 kB / 1.073 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.4057, allocations: 4 kB / 1.073 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.108e-05/0.4058, allocations: 8.062 kB / 1.073 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.247e-05/0.4058, allocations: 15.92 kB / 1.073 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.4058, allocations: 0 / 1.073 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.943e-05/0.4059, allocations: 91.27 kB / 1.074 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4059, allocations: 0 / 1.074 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002322/0.4061, allocations: 28 kB / 1.074 GB, free: 4.289 MB / 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nand1.y) * Number of discrete states: 0 () * Number of clocked 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 (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.0001567/0.4063, allocations: 103.2 kB / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000327/0.4066, allocations: 259 kB / 1.074 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4066, allocations: 0 / 1.074 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.559e-05/0.4067, allocations: 27.97 kB / 1.074 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.4069, allocations: 21.81 kB / 1.074 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003429/0.4073, allocations: 170.9 kB / 1.074 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.4075, allocations: 0.6885 MB / 1.075 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.848e-05/0.4075, allocations: 7.781 kB / 1.075 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.187e-05/0.4076, allocations: 11.44 kB / 1.075 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of SimCode: time 3.6e-07/0.4076, allocations: 0 / 1.075 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of Templates: time 0.004206/0.4118, allocations: 1.832 MB / 1.077 GB, free: 1.117 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1)