Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Templates.Components.Controls.Validation.MultipleCommands.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.Templates.Components.Controls.Validation.MultipleCommands,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Templates.Components.Controls.Validation.MultipleCommands") translateModel(Buildings.Templates.Components.Controls.Validation.MultipleCommands,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Templates.Components.Controls.Validation.MultipleCommands") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001619/0.001625, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002063/0.002063, allocations: 192.7 kB / 16.14 MB, free: 6.695 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.455/1.455, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.959/2.959, allocations: 472.6 MB / 0.7447 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 70.08 kB / 0.9113 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3777, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002089/0.3798, allocations: 0.8904 MB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00144/0.3813, allocations: 1.182 MB / 1.07 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.275e-05/0.3814, allocations: 0 / 1.07 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001029/0.3815, allocations: 7.922 kB / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.443e-05/0.3816, allocations: 15.92 kB / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004356/0.382, allocations: 131.7 kB / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003076/0.3823, allocations: 315.4 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000207/0.3826, allocations: 106.3 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.3827, allocations: 115.7 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001663/0.3829, allocations: 119.5 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.675e-05/0.3829, allocations: 20 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.792e-05/0.383, allocations: 31.98 kB / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.992e-05/0.3831, allocations: 31.92 kB / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001481/0.3833, allocations: 119.5 kB / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004001/0.3837, allocations: 371.2 kB / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3837, allocations: 0 / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3837, allocations: 4 kB / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.002e-06/0.3837, allocations: 0 / 1.071 GB, free: 7.465 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0007687/0.3845, allocations: 0.5742 MB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.3845, allocations: 12.03 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.765e-05/0.3846, allocations: 24.75 kB / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003412/0.3849, allocations: 284.6 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.81e-05/0.385, allocations: 16.38 kB / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.043e-05/0.3851, allocations: 24.38 kB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003187/0.3854, allocations: 178.6 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.3854, allocations: 192 / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.573e-05/0.3854, allocations: 15.92 kB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.3854, allocations: 4 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002386/0.3857, allocations: 147.9 kB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009567/0.3867, allocations: 0.6562 MB / 1.073 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.3869, allocations: 146.3 kB / 1.073 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.387, allocations: 72.8 kB / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.387, allocations: 7.938 kB / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002665/0.3873, allocations: 177.2 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.572e-06/0.3873, allocations: 3.938 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0005297/0.3878, allocations: 289.3 kB / 1.073 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.349e-05/0.3879, allocations: 59.39 kB / 1.073 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.3881, allocations: 199.4 kB / 1.074 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.057e-05/0.3882, allocations: 33.7 kB / 1.074 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.3883, allocations: 128.4 kB / 1.074 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.735e-05/0.3883, allocations: 43.48 kB / 1.074 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001585/0.3885, allocations: 81.67 kB / 1.074 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.3886, allocations: 330.8 kB / 1.074 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000363/0.389, allocations: 223.8 kB / 1.074 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003933/0.3894, allocations: 279.8 kB / 1.075 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004791/0.3899, allocations: 389.8 kB / 1.075 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3899, allocations: 0 / 1.075 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0009753/0.3909, allocations: 0.6382 MB / 1.076 GB, free: 2.16 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.445e-05/0.3909, allocations: 93.09 kB / 1.076 GB, free: 2.051 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.391, allocations: 0 / 1.076 GB, free: 2.051 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.391, allocations: 4 kB / 1.076 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.3911, allocations: 23.92 kB / 1.076 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.3911, allocations: 8 kB / 1.076 GB, free: 2.016 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005518/0.3917, allocations: 107.8 kB / 1.076 GB, free: 1.91 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.997e-05/0.3917, allocations: 19.98 kB / 1.076 GB, free: 1.891 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,conCom.mulOr.uTemp[2],conCom.y1One,y1[3].y,$PRE.y1[3].y,y1[2].y,$PRE.y1[2].y,y1[1].y,$PRE.y1[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 17 * 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.0001694/0.3919, allocations: 163.3 kB / 1.076 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.92e-05/0.3919, allocations: 23.73 kB / 1.076 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003692/0.3923, allocations: 229.8 kB / 1.076 GB, free: 1.469 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.3923, allocations: 0 / 1.076 GB, free: 1.469 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.3923, allocations: 11.98 kB / 1.076 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3924, allocations: 0 / 1.076 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002526/0.3926, allocations: 277.3 kB / 1.077 GB, free: 1.137 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3926, allocations: 0 / 1.077 GB, free: 1.137 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.627e-05/0.3927, allocations: 19.91 kB / 1.077 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3927, allocations: 0 / 1.077 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.3927, allocations: 8 kB / 1.077 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3927, allocations: 3.938 kB / 1.077 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3927, allocations: 0 / 1.077 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003328/0.3931, allocations: 248.8 kB / 1.077 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.583e-05/0.3931, allocations: 88.95 kB / 1.077 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.3932, allocations: 4 kB / 1.077 GB, free: 0.7344 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.813e-05/0.3932, allocations: 7.984 kB / 1.077 GB, free: 0.7266 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.285e-05/0.3933, allocations: 11.98 kB / 1.077 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.819e-05/0.3933, allocations: 11.98 kB / 1.077 GB, free: 0.7031 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001047/0.3934, allocations: 139.2 kB / 1.077 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3934, allocations: 0 / 1.077 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000297/0.3937, allocations: 67.84 kB / 1.077 GB, free: 0.5 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: 11 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,y1[1].y,y1[2].y,y1[3].y,conCom.y1One,conCom.mulOr.uTemp[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 13 * 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.0001601/0.3939, allocations: 109 kB / 1.077 GB, free: 396 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007629/0.3947, allocations: 0.5603 MB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3947, allocations: 0 / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.3948, allocations: 101.7 kB / 1.078 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.3951, allocations: 36.36 kB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007652/0.3959, allocations: 433.9 kB / 1.078 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.3963, allocations: 0.7477 MB / 1.079 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.972e-05/0.3964, allocations: 33.41 kB / 1.079 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.814e-05/0.3965, allocations: 19.44 kB / 1.079 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of SimCode: time 3.9e-07/0.3965, allocations: 3.938 kB / 1.079 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of Templates: time 0.007446/0.4039, allocations: 3.578 MB / 1.083 GB, free: 10.83 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Templates.Components.Controls.Validation.MultipleCommands.makefile (rm -f Buildings_1.6_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; mkfifo Buildings_1.6_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe >> ../files/Buildings_1.6_Buildings.Templates.Components.Controls.Validation.MultipleCommands.sim & ./Buildings_1.6_Buildings.Templates.Components.Controls.Validation.MultipleCommands -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1)