Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: "" <> buildModelFMU(Buildings.Templates.Components.Controls.Validation.MultipleCommands,fileNamePrefix="Buildings_latest_Buildings_Templates_Components_Controls_Validation_MultipleCommands",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Components.Controls.Validation.MultipleCommands,fileNamePrefix="Buildings_latest_Buildings_Templates_Components_Controls_Validation_MultipleCommands",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00101/0.00101, allocations: 198.6 kB / 16.14 MB, free: 6.645 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.264/1.264, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.575/2.575, allocations: 461.9 MB / 0.7342 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 61.58 kB / 0.8985 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2791, allocations: 157.4 MB / 1.052 GB, free: 8.168 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002456/0.2816, allocations: 0.8999 MB / 1.053 GB, free: 7.266 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00143/0.283, allocations: 1.182 MB / 1.054 GB, free: 6.07 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.287e-05/0.2831, allocations: 0 / 1.054 GB, free: 6.07 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001062/0.2833, allocations: 15.92 kB / 1.054 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.854e-05/0.2834, allocations: 11.92 kB / 1.054 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004263/0.2838, allocations: 136 kB / 1.054 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002863/0.2841, allocations: 307.4 kB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001941/0.2843, allocations: 102.5 kB / 1.055 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.2844, allocations: 115.7 kB / 1.055 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.2846, allocations: 115.6 kB / 1.055 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.432e-05/0.2847, allocations: 20 kB / 1.055 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.897e-05/0.2848, allocations: 31.98 kB / 1.055 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.982e-05/0.2849, allocations: 31.86 kB / 1.055 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001495/0.285, allocations: 115.5 kB / 1.055 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003783/0.2854, allocations: 375.2 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2854, allocations: 4 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.845e-06/0.2854, allocations: 0 / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.281e-06/0.2854, allocations: 3.938 kB / 1.056 GB, free: 4.719 MB / 0.8106 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.0009354/0.2864, allocations: 0.578 MB / 1.056 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.2864, allocations: 11.97 kB / 1.056 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.011e-05/0.2865, allocations: 50.73 kB / 1.056 GB, free: 4 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.919e-05/0.2866, allocations: 24.75 kB / 1.056 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003656/0.287, allocations: 284.6 kB / 1.056 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.159e-05/0.287, allocations: 16.38 kB / 1.056 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.605e-05/0.2871, allocations: 28.38 kB / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000291/0.2874, allocations: 174.1 kB / 1.057 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.2874, allocations: 3.938 kB / 1.057 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/0.2874, allocations: 7.984 kB / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.2874, allocations: 4 kB / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002211/0.2877, allocations: 148.4 kB / 1.057 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009499/0.2886, allocations: 0.664 MB / 1.057 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000203/0.2888, allocations: 130.5 kB / 1.058 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.2889, allocations: 76.73 kB / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.289, allocations: 4 kB / 1.058 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002444/0.2892, allocations: 181.1 kB / 1.058 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 2.114e-06/0.2892, allocations: 4 kB / 1.058 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.000504/0.2897, allocations: 293.3 kB / 1.058 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.2898, allocations: 59.39 kB / 1.058 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.29, allocations: 191.2 kB / 1.058 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.775e-05/0.29, allocations: 41.7 kB / 1.058 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.2901, allocations: 128.4 kB / 1.059 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.189e-05/0.2902, allocations: 43.45 kB / 1.059 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/0.2903, allocations: 81.67 kB / 1.059 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.2904, allocations: 334.8 kB / 1.059 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003344/0.2908, allocations: 223.7 kB / 1.059 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003581/0.2911, allocations: 278.7 kB / 1.059 GB, free: 448 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004187/0.2916, allocations: 389 kB / 1.06 GB, free: 16 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.2916, allocations: 0 / 1.06 GB, free: 16 kB / 0.8106 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0009226/0.2925, allocations: 0.6282 MB / 1.06 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.257e-05/0.2926, allocations: 93.09 kB / 1.061 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.567e-06/0.2926, allocations: 4 kB / 1.061 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.2926, allocations: 4.219 kB / 1.061 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.2927, allocations: 27.92 kB / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.2927, allocations: 0 / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005567/0.2933, allocations: 103.7 kB / 1.061 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.525e-05/0.2934, allocations: 23.98 kB / 1.061 GB, free: 15.09 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.0001771/0.2936, allocations: 175.6 kB / 1.061 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.2936, allocations: 11.81 kB / 1.061 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003458/0.2939, allocations: 238.3 kB / 1.061 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.2939, allocations: 0 / 1.061 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.294, allocations: 0 / 1.061 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.294, allocations: 3.984 kB / 1.061 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002384/0.2942, allocations: 273.4 kB / 1.061 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.2942, allocations: 4 kB / 1.061 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.324e-05/0.2943, allocations: 19.98 kB / 1.061 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.2943, allocations: 0 / 1.061 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.2943, allocations: 4 kB / 1.061 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.2943, allocations: 4 kB / 1.061 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2943, allocations: 0 / 1.061 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003083/0.2946, allocations: 248.7 kB / 1.062 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.372e-05/0.2947, allocations: 96.8 kB / 1.062 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.2947, allocations: 0 / 1.062 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.586e-05/0.2948, allocations: 15.98 kB / 1.062 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.321e-05/0.2949, allocations: 11.98 kB / 1.062 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.2949, allocations: 8 kB / 1.062 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.611e-05/0.295, allocations: 139.2 kB / 1.062 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.295, allocations: 0 / 1.062 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003013/0.2953, allocations: 63.91 kB / 1.062 GB, free: 13.7 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.0006066/0.2959, allocations: 0.7968 MB / 1.063 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006831/0.2966, allocations: 0.5549 MB / 1.063 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2966, allocations: 0 / 1.063 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.2967, allocations: 99.86 kB / 1.063 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.297, allocations: 36.41 kB / 1.063 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003587/0.3006, allocations: 3.174 MB / 1.067 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.3009, allocations: 0.7555 MB / 1.067 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.596e-05/0.301, allocations: 25.42 kB / 1.067 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.788e-05/0.3011, allocations: 51.41 kB / 1.067 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of SimCode: time 2.81e-07/0.3011, allocations: 0 / 1.067 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01537/0.3165, allocations: 5.383 MB / 1.073 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002056/0.3167, allocations: 231.8 kB / 1.073 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.836/2.153, allocations: 0 / 1.073 GB, free: 2.52 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; mkfifo Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe >> ../files/Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_latest_Buildings_Templates_Components_Controls_Validation_MultipleCommands_fmu --startTime=0 --stopTime=2000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Components_Controls_Validation_MultipleCommands.fmu > Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1)