Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001593/0.001593, 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.001769/0.001769, allocations: 190.4 kB / 16.25 MB, free: 6.641 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.531/1.531, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.941/2.941, allocations: 472.6 MB / 0.7448 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001227, allocations: 70.38 kB / 0.9116 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3777, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.002003/0.3798, allocations: 0.6065 MB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 4.624e-05/0.3799, allocations: 11.94 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.851e-05/0.3799, allocations: 0 / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.948e-05/0.3799, allocations: 0 / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.591e-05/0.38, allocations: 0 / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.055e-05/0.38, allocations: 0 / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.899e-05/0.3801, allocations: 0 / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.385e-05/0.3801, allocations: 11.98 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.901e-05/0.3802, allocations: 0 / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.173e-05/0.3802, allocations: 3.984 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.3802, allocations: 0 / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.933e-06/0.3802, allocations: 0 / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.517e-05/0.3802, allocations: 3.938 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.541e-05/0.3803, allocations: 4 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 6.62e-05/0.3803, allocations: 7.938 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3804, allocations: 0 / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3804, allocations: 0 / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.3804, allocations: 0 / 1.068 GB, free: 10.15 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003185/0.3807, allocations: 319.6 kB / 1.069 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.3807, allocations: 8.031 kB / 1.069 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.498e-05/0.3808, allocations: 0.9375 kB / 1.069 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.3809, allocations: 160.4 kB / 1.069 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.3809, allocations: 384 / 1.069 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.656e-06/0.381, allocations: 4.375 kB / 1.069 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.458e-05/0.3811, allocations: 30.27 kB / 1.069 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.3811, allocations: 192 / 1.069 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.3811, allocations: 3.938 kB / 1.069 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.3811, allocations: 7.938 kB / 1.069 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.212e-05/0.3811, allocations: 7.938 kB / 1.069 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003991/0.3815, allocations: 379.5 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.3817, allocations: 169.1 kB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.061e-05/0.3817, allocations: 80.14 kB / 1.069 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.3817, allocations: 79.28 kB / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.581e-05/0.3818, allocations: 109.8 kB / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.3818, allocations: 3.938 kB / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 7.086e-05/0.3819, allocations: 31.91 kB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.149e-05/0.382, allocations: 134.7 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.18e-05/0.3821, allocations: 97.86 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.3821, allocations: 25.7 kB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.025e-05/0.3821, allocations: 80.14 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.863e-06/0.3821, allocations: 0 / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.962e-05/0.3821, allocations: 9.719 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.3823, allocations: 314.8 kB / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.669e-06/0.3823, allocations: 0 / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.573e-06/0.3823, allocations: 3.984 kB / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.088e-05/0.3823, allocations: 83.34 kB / 1.07 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.342e-05/0.3824, allocations: 79.28 kB / 1.07 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.891e-05/0.3824, allocations: 37.48 kB / 1.071 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.82e-05/0.3825, allocations: 84.84 kB / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.713e-05/0.3825, allocations: 75.28 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001718/0.3827, allocations: 158.5 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.501e-05/0.3827, allocations: 75.28 kB / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.289e-05/0.3828, allocations: 158.6 kB / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.508e-05/0.3828, allocations: 83.2 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-05/0.3829, allocations: 79.28 kB / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.00021/0.3831, allocations: 260.3 kB / 1.071 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.446e-05/0.3832, allocations: 108.9 kB / 1.072 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.554e-05/0.3833, allocations: 107.9 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.778e-05/0.3834, allocations: 180.3 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001167/0.3835, allocations: 188.2 kB / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.867e-05/0.3835, allocations: 180.3 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002933/0.3838, allocations: 405.1 kB / 1.073 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.735e-05/0.3839, allocations: 105 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.271e-05/0.384, allocations: 113 kB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.299e-05/0.3841, allocations: 184.5 kB / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.052e-05/0.3841, allocations: 176.3 kB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001502/0.3843, allocations: 180.2 kB / 1.073 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.323e-05/0.3844, allocations: 188.3 kB / 1.073 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/0.3846, allocations: 311.7 kB / 1.074 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.903e-05/0.3847, allocations: 182 kB / 1.074 GB, free: 4 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.118e-05/0.3848, allocations: 184.2 kB / 1.074 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.569e-05/0.3848, allocations: 101 kB / 1.074 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.956e-05/0.3849, allocations: 184.2 kB / 1.074 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.308e-05/0.385, allocations: 109 kB / 1.074 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.025e-05/0.385, allocations: 75.28 kB / 1.075 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.385, allocations: 4 kB / 1.075 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002758/0.3853, allocations: 0 / 1.075 GB, free: 3.328 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001791/0.3855, allocations: 175.4 kB / 1.075 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 3.702e-05/0.3855, allocations: 0 / 1.075 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3855, allocations: 96 / 1.075 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.358e-06/0.3855, allocations: 7.938 kB / 1.075 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.3859, allocations: 463.6 kB / 1.075 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002145/0.3861, allocations: 152.2 kB / 1.075 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.3864, allocations: 0.6729 MB / 1.076 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.226e-06/0.3864, allocations: 4 kB / 1.076 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.913e-05/0.3864, allocations: 11.44 kB / 1.076 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3865, allocations: 0 / 1.076 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of Templates: time 0.002606/0.3891, allocations: 164.8 kB / 1.076 GB, free: 1.629 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)