Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001169/0.001169, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.0114/0.0114, allocations: 173.9 kB / 16.27 MB, free: 6.676 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.547/1.547, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.061/3.061, allocations: 473.4 MB / 0.7469 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003782/0.0003782, allocations: 10.12 kB / 0.9158 GB, free: 33.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3849/0.3853, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001408/0.3867, allocations: 391.9 kB / 1.075 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002608/0.3894, allocations: 1.202 MB / 1.076 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.377e-05/0.3895, allocations: 0 / 1.076 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.152e-05/0.3896, allocations: 3.938 kB / 1.076 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001036/0.3897, allocations: 7.938 kB / 1.076 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008863/0.3906, allocations: 202.3 kB / 1.076 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002579/0.3908, allocations: 151.7 kB / 1.076 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.391, allocations: 15.97 kB / 1.076 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001815/0.3912, allocations: 51.91 kB / 1.076 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.3913, allocations: 47.86 kB / 1.076 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.741e-05/0.3914, allocations: 8 kB / 1.076 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.3915, allocations: 23.98 kB / 1.076 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.831e-05/0.3916, allocations: 15.92 kB / 1.076 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001382/0.3917, allocations: 73.59 kB / 1.076 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003083/0.392, allocations: 139.6 kB / 1.076 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.392, allocations: 0 / 1.076 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.939e-06/0.3921, allocations: 0 / 1.076 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.3921, allocations: 3.938 kB / 1.076 GB, free: 5.219 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.000779/0.3929, allocations: 412.6 kB / 1.077 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.231e-05/0.3929, allocations: 8.031 kB / 1.077 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.393, allocations: 12.84 kB / 1.077 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.3933, allocations: 172.3 kB / 1.077 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.662e-05/0.3933, allocations: 12.38 kB / 1.077 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.26e-05/0.3934, allocations: 8.375 kB / 1.077 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.3935, allocations: 46.25 kB / 1.077 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.3936, allocations: 8.172 kB / 1.077 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/0.3936, allocations: 7.938 kB / 1.077 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.3936, allocations: 0 / 1.077 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.742e-05/0.3937, allocations: 19.92 kB / 1.077 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007455/0.3944, allocations: 360.6 kB / 1.077 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.3945, allocations: 34.52 kB / 1.077 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.932e-05/0.3946, allocations: 20.94 kB / 1.077 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.3946, allocations: 4 kB / 1.077 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002426/0.3949, allocations: 75.31 kB / 1.078 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.733e-06/0.3949, allocations: 0 / 1.078 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003341/0.3952, allocations: 105.6 kB / 1.078 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.285e-05/0.3953, allocations: 55.41 kB / 1.078 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.3954, allocations: 117.8 kB / 1.078 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.053e-05/0.3955, allocations: 29.7 kB / 1.078 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.092e-05/0.3956, allocations: 92.12 kB / 1.078 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.3956, allocations: 19.8 kB / 1.078 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.797e-05/0.3956, allocations: 21.72 kB / 1.078 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.3958, allocations: 322.7 kB / 1.078 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.3959, allocations: 63.97 kB / 1.078 GB, free: 3 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/0.3961, allocations: 96.25 kB / 1.078 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002232/0.3963, allocations: 160 kB / 1.079 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.3964, allocations: 0 / 1.079 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004482/0.3968, allocations: 260.7 kB / 1.079 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.619e-05/0.3969, allocations: 71.39 kB / 1.079 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.3969, allocations: 0 / 1.079 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.3969, allocations: 0 / 1.079 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.743e-05/0.3969, allocations: 8 kB / 1.079 GB, free: 2.344 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.397, allocations: 3.938 kB / 1.079 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004447/0.3974, allocations: 76.05 kB / 1.079 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.552e-05/0.3975, allocations: 8 kB / 1.079 GB, free: 2.258 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 0.0001272/0.3976, allocations: 137.7 kB / 1.079 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.49e-05/0.3976, allocations: 7.906 kB / 1.079 GB, free: 2.105 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.418e-05/0.3977, allocations: 8.375 kB / 1.079 GB, free: 2.098 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.3977, allocations: 0 / 1.079 GB, free: 2.098 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.3977, allocations: 0 / 1.079 GB, free: 2.098 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.3977, allocations: 0 / 1.079 GB, free: 2.098 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001622/0.3979, allocations: 181.6 kB / 1.079 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.3979, allocations: 0 / 1.079 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.997e-06/0.3979, allocations: 0 / 1.079 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3979, allocations: 4 kB / 1.079 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.3979, allocations: 4 kB / 1.079 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.3979, allocations: 320 / 1.079 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.3979, allocations: 0 / 1.079 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000174/0.3981, allocations: 124.9 kB / 1.079 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.262e-05/0.3982, allocations: 81.02 kB / 1.08 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.3982, allocations: 3.984 kB / 1.08 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.096e-05/0.3982, allocations: 4 kB / 1.08 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/0.3983, allocations: 4.062 kB / 1.08 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.3983, allocations: 15.98 kB / 1.08 GB, free: 1.598 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.931e-05/0.3984, allocations: 91.22 kB / 1.08 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3984, allocations: 0 / 1.08 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002447/0.3986, allocations: 28 kB / 1.08 GB, free: 1.48 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.0001892/0.3988, allocations: 103.2 kB / 1.08 GB, free: 1.371 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003795/0.3992, allocations: 246.8 kB / 1.08 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3992, allocations: 4.062 kB / 1.08 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.542e-05/0.3993, allocations: 31.92 kB / 1.08 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.3995, allocations: 15.92 kB / 1.08 GB, free: 1.055 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003762/0.3999, allocations: 172.7 kB / 1.08 GB, free: 0.8516 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.4002, allocations: 0.6809 MB / 1.081 GB, free: 148 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.605e-05/0.4002, allocations: 11.77 kB / 1.081 GB, free: 136 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.142e-05/0.4003, allocations: 11.44 kB / 1.081 GB, free: 124 kB / 0.8262 GB Notification: Performance of SimCode: time 4.71e-07/0.4003, allocations: 0 / 1.081 GB, free: 124 kB / 0.8262 GB Notification: Performance of Templates: time 0.004987/0.4053, allocations: 1.755 MB / 1.083 GB, free: 14.39 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1)