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.0007424/0.0007424, 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.004956/0.004956, allocations: 170 kB / 16.26 MB, free: 6.613 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.267/1.267, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.584/2.584, allocations: 462.6 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002962/0.0002962, allocations: 11.73 kB / 0.9029 GB, free: 36.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2671, allocations: 159.6 MB / 1.059 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.001024/0.2682, allocations: 0.5533 MB / 1.059 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001488/0.2697, allocations: 1.163 MB / 1.06 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.283e-05/0.2698, allocations: 4 kB / 1.06 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.305e-05/0.2699, allocations: 15.92 kB / 1.06 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.602e-05/0.27, allocations: 11.86 kB / 1.06 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004846/0.2705, allocations: 134.7 kB / 1.061 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003289/0.2708, allocations: 307.3 kB / 1.061 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002045/0.271, allocations: 106.5 kB / 1.061 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001569/0.2712, allocations: 103.7 kB / 1.061 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001598/0.2714, allocations: 95.62 kB / 1.061 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.219e-05/0.2714, allocations: 12 kB / 1.061 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.654e-05/0.2715, allocations: 31.92 kB / 1.061 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.735e-05/0.2716, allocations: 35.84 kB / 1.061 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000171/0.2718, allocations: 133.2 kB / 1.061 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003851/0.2722, allocations: 371.2 kB / 1.062 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2722, allocations: 0 / 1.062 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.884e-06/0.2722, allocations: 0 / 1.062 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.2722, allocations: 0 / 1.062 GB, free: 1.77 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.0006615/0.2729, allocations: 0.5079 MB / 1.062 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.2729, allocations: 11.97 kB / 1.062 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.116e-05/0.273, allocations: 46.73 kB / 1.062 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.858e-05/0.273, allocations: 24.75 kB / 1.062 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003429/0.2734, allocations: 285.3 kB / 1.063 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.681e-05/0.2734, allocations: 20.38 kB / 1.063 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.134e-05/0.2735, allocations: 24.38 kB / 1.063 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002937/0.2738, allocations: 178.1 kB / 1.063 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.2738, allocations: 7.938 kB / 1.063 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.2739, allocations: 4 kB / 1.063 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.2739, allocations: 4 kB / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002277/0.2741, allocations: 152.3 kB / 1.063 GB, free: 404 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009642/0.2751, allocations: 0.6602 MB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.2753, allocations: 122.5 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.2754, allocations: 80.92 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.2754, allocations: 7.938 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002302/0.2757, allocations: 179 kB / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.2757, allocations: 3.938 kB / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0004811/0.2762, allocations: 299.4 kB / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.2762, allocations: 55.41 kB / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.2764, allocations: 199.2 kB / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.858e-05/0.2764, allocations: 33.7 kB / 1.065 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.2766, allocations: 132.4 kB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.428e-05/0.2766, allocations: 35.45 kB / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.149e-05/0.2767, allocations: 41.69 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.2768, allocations: 326.8 kB / 1.065 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003406/0.2771, allocations: 219.8 kB / 1.065 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003709/0.2775, allocations: 278.7 kB / 1.066 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004415/0.278, allocations: 397 kB / 1.066 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.278, allocations: 0 / 1.066 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0008736/0.2789, allocations: 0.6281 MB / 1.067 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.334e-05/0.2789, allocations: 103 kB / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.2789, allocations: 0 / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.279, allocations: 4.219 kB / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.688e-05/0.2791, allocations: 19.98 kB / 1.067 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.2791, allocations: 3.938 kB / 1.067 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000596/0.2797, allocations: 139.7 kB / 1.067 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.958e-05/0.2797, allocations: 23.98 kB / 1.067 GB, free: 12.23 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.0001604/0.2799, allocations: 171.7 kB / 1.067 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.472e-05/0.2799, allocations: 19.8 kB / 1.067 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003359/0.2803, allocations: 225.9 kB / 1.067 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.2803, allocations: 3.984 kB / 1.067 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.2803, allocations: 4 kB / 1.067 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2803, allocations: 0 / 1.067 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002416/0.2806, allocations: 277.3 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2806, allocations: 4 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.194e-05/0.2806, allocations: 15.98 kB / 1.068 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.2806, allocations: 4 kB / 1.068 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.2807, allocations: 4 kB / 1.068 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2807, allocations: 0 / 1.068 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2807, allocations: 0 / 1.068 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003011/0.281, allocations: 244.8 kB / 1.068 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.385e-05/0.281, allocations: 92.86 kB / 1.068 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.2811, allocations: 11.94 kB / 1.068 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.554e-05/0.2811, allocations: 3.984 kB / 1.068 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.568e-05/0.2812, allocations: 19.98 kB / 1.068 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.2812, allocations: 7.984 kB / 1.068 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.504e-05/0.2813, allocations: 135.2 kB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2813, allocations: 0 / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002937/0.2816, allocations: 63.91 kB / 1.068 GB, free: 10.85 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.0006145/0.2822, allocations: 0.7943 MB / 1.069 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007169/0.283, allocations: 0.5603 MB / 1.069 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.283, allocations: 0 / 1.069 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.2831, allocations: 91.94 kB / 1.069 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.2834, allocations: 41.89 kB / 1.07 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003653/0.2871, allocations: 3.192 MB / 1.073 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.2874, allocations: 0.7438 MB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.141e-05/0.2875, allocations: 29.41 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.849e-05/0.2876, allocations: 51.42 kB / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.2876, allocations: 0 / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01531/0.3029, allocations: 5.295 MB / 1.079 GB, free: 20 kB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001875/0.3031, allocations: 234.8 kB / 1.079 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.826/2.129, allocations: 0 / 1.079 GB, free: 15.76 MB / 0.8419 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)