Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="Buildings_11_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="Buildings_11_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust",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.00436/0.00436, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001255/0.001255, allocations: 197.5 kB / 16.67 MB, free: 5.934 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.201/1.201, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.323/2.323, allocations: 469.8 MB / 0.7425 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001638, allocations: 75.83 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5828/0.5845, allocations: 159.1 MB / 1.22 GB, free: 2.09 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.3074/0.8919, allocations: 342.9 MB / 1.555 GB, free: 9.941 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.5636/1.456, allocations: 38.36 MB / 1.592 GB, free: 17.74 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003523/1.459, allocations: 137.8 kB / 1.593 GB, free: 17.74 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.005789/1.465, allocations: 3.144 MB / 1.596 GB, free: 17.69 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.01034/1.475, allocations: 5.94 MB / 1.601 GB, free: 17.48 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.005405/1.481, allocations: 3.14 MB / 1.605 GB, free: 17.39 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.009952/1.491, allocations: 11.47 MB / 1.616 GB, free: 17.36 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003629/1.494, allocations: 4.222 MB / 1.62 GB, free: 16.79 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006614/1.501, allocations: 4.925 MB / 1.625 GB, free: 16.72 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003166/1.504, allocations: 2.77 MB / 1.627 GB, free: 16.71 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0004172/1.505, allocations: 381 kB / 1.628 GB, free: 16.71 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00724/1.512, allocations: 5.314 MB / 1.633 GB, free: 16.66 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.0009572/1.513, allocations: 1.403 MB / 1.634 GB, free: 16.66 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.00168/1.515, allocations: 2.262 MB / 1.637 GB, free: 16.11 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.007479/1.522, allocations: 7.74 MB / 1.644 GB, free: 15.12 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/1.522, allocations: 1.219 kB / 1.644 GB, free: 15.12 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.092e-06/1.522, allocations: 0 / 1.644 GB, free: 15.12 MB / 1.279 GB Notification: Performance of Transformations before backend: time 5.29e-05/1.522, allocations: 4 kB / 1.644 GB, free: 15.11 MB / 1.279 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 649 * Number of variables: 649 Notification: Performance of Generate backend data structure: time 0.006095/1.528, allocations: 4.936 MB / 1.649 GB, free: 12.75 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 3.004e-05/1.528, allocations: 12.34 kB / 1.649 GB, free: 12.75 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003333/1.529, allocations: 362.9 kB / 1.649 GB, free: 12.7 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006955/1.536, allocations: 1.515 MB / 1.651 GB, free: 12.39 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004941/1.54, allocations: 3.936 MB / 1.655 GB, free: 11.61 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001638/1.541, allocations: 291 kB / 1.655 GB, free: 11.51 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002848/1.541, allocations: 257.6 kB / 1.655 GB, free: 11.51 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004736/1.546, allocations: 3.364 MB / 1.658 GB, free: 11.18 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.087e-05/1.546, allocations: 2.438 kB / 1.658 GB, free: 11.18 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000224/1.546, allocations: 112.2 kB / 1.659 GB, free: 11.18 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.747e-05/1.546, allocations: 110.3 kB / 1.659 GB, free: 11.17 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005208/1.551, allocations: 2.98 MB / 1.662 GB, free: 11.11 MB / 1.279 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01372/1.565, allocations: 14.58 MB / 1.676 GB, free: 3.816 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002709/1.568, allocations: 1.585 MB / 1.677 GB, free: 3.559 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001209/1.569, allocations: 0.6864 MB / 1.678 GB, free: 3.543 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002726/1.569, allocations: 302.2 kB / 1.678 GB, free: 3.258 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001397/1.571, allocations: 0.805 MB / 1.679 GB, free: 3.176 MB / 1.279 GB Notification: Performance of pre-optimization done (n=103): time 2.265e-06/1.571, allocations: 4 kB / 1.679 GB, free: 3.172 MB / 1.279 GB Notification: Performance of matching and sorting (n=103): time 0.004426/1.575, allocations: 2.2 MB / 1.681 GB, free: 2.82 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/1.575, allocations: 119.1 kB / 1.681 GB, free: 2.695 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003134/1.578, allocations: 3.189 MB / 1.684 GB, free: 2.406 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 8.644e-05/1.578, allocations: 53.2 kB / 1.684 GB, free: 2.375 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008555/1.579, allocations: 1.762 MB / 1.686 GB, free: 1.734 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002026/1.579, allocations: 400.4 kB / 1.687 GB, free: 1.488 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005244/1.58, allocations: 470.8 kB / 1.687 GB, free: 1.445 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 2.809e-05/1.58, allocations: 311.5 kB / 1.687 GB, free: 1.141 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001721/1.582, allocations: 0.9278 MB / 1.688 GB, free: 1.105 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002005/1.584, allocations: 1.698 MB / 1.69 GB, free: 184 kB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003496/1.587, allocations: 2.491 MB / 1.692 GB, free: 15.15 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.237e-06/1.587, allocations: 5.844 kB / 1.692 GB, free: 15.15 MB / 1.295 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.004857/1.592, allocations: 2.928 MB / 1.695 GB, free: 13.86 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 4.143e-05/1.592, allocations: 46.12 kB / 1.695 GB, free: 13.82 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/1.592, allocations: 22.28 kB / 1.695 GB, free: 13.82 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.185e-05/1.592, allocations: 36.38 kB / 1.695 GB, free: 13.82 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001724/1.594, allocations: 0.5049 MB / 1.696 GB, free: 13.72 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.183e-05/1.594, allocations: 46.09 kB / 1.696 GB, free: 13.71 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002305/1.596, allocations: 401.8 kB / 1.696 GB, free: 13.49 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001419/1.596, allocations: 101.4 kB / 1.696 GB, free: 13.46 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002751/1.599, allocations: 1.727 MB / 1.698 GB, free: 12.52 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00238/1.602, allocations: 1.703 MB / 1.7 GB, free: 11.08 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003718/1.605, allocations: 2.498 MB / 1.702 GB, free: 9.359 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.365e-06/1.605, allocations: 5.719 kB / 1.702 GB, free: 9.359 MB / 1.295 GB Notification: Performance of matching and sorting (n=282) (initialization_lambda0): time 0.004849/1.61, allocations: 2.931 MB / 1.705 GB, free: 8.062 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.238e-05/1.61, allocations: 44.2 kB / 1.705 GB, free: 8.031 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/1.61, allocations: 19.53 kB / 1.705 GB, free: 8.031 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/1.61, allocations: 34.44 kB / 1.705 GB, free: 8.031 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001704/1.612, allocations: 0.5028 MB / 1.706 GB, free: 7.934 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.643e-05/1.612, allocations: 48.77 kB / 1.706 GB, free: 7.93 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002216/1.614, allocations: 323.1 kB / 1.706 GB, free: 7.77 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001384/1.614, allocations: 106.2 kB / 1.706 GB, free: 7.742 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (247): * Single equations (assignments): 243 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.0003314/1.615, allocations: 312.7 kB / 1.706 GB, free: 7.496 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003729/1.615, allocations: 328.5 kB / 1.707 GB, free: 7.207 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003499/1.619, allocations: 1.674 MB / 1.708 GB, free: 5.531 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/1.619, allocations: 12 kB / 1.708 GB, free: 5.52 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/1.619, allocations: 0 / 1.708 GB, free: 5.52 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002716/1.621, allocations: 1.304 MB / 1.71 GB, free: 4.203 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00711/1.628, allocations: 4.576 MB / 1.714 GB, free: 15.54 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/1.629, allocations: 4 kB / 1.714 GB, free: 15.54 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/1.63, allocations: 248.6 kB / 1.714 GB, free: 15.3 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001875/1.63, allocations: 53.86 kB / 1.714 GB, free: 15.25 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.986e-05/1.63, allocations: 35.98 kB / 1.714 GB, free: 15.21 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001167/1.631, allocations: 1.534 MB / 1.716 GB, free: 13.55 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/1.631, allocations: 10.53 kB / 1.716 GB, free: 13.55 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004631/1.636, allocations: 2.538 MB / 1.718 GB, free: 10.94 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007497/1.636, allocations: 0.5688 MB / 1.719 GB, free: 10.35 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003124/1.637, allocations: 31.98 kB / 1.719 GB, free: 10.32 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001591/1.638, allocations: 135.9 kB / 1.719 GB, free: 10.18 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/1.639, allocations: 100.1 kB / 1.719 GB, free: 10.09 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.947e-05/1.639, allocations: 47.97 kB / 1.719 GB, free: 10.05 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.002775/1.641, allocations: 2.144 MB / 1.721 GB, free: 7.918 MB / 1.311 GB Notification: Performance of sort global known variables: time 2.31e-07/1.641, allocations: 0 / 1.721 GB, free: 7.918 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.003268/1.645, allocations: 1.707 MB / 1.723 GB, free: 6.207 MB / 1.311 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 4 (conPI.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005937/1.651, allocations: 3.554 MB / 1.726 GB, free: 2.605 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.006268/1.657, allocations: 3.388 MB / 1.73 GB, free: 15.35 MB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/1.657, allocations: 0 / 1.73 GB, free: 15.35 MB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.00169/1.659, allocations: 0.8138 MB / 1.731 GB, free: 14.56 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005159/1.664, allocations: 1.489 MB / 1.732 GB, free: 13.1 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03374/1.698, allocations: 23.29 MB / 1.755 GB, free: 4.969 MB / 1.342 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001922/1.7, allocations: 2.303 MB / 1.757 GB, free: 2.637 MB / 1.342 GB Notification: Performance of simCode: alias equations: time 0.00271/1.702, allocations: 0.8956 MB / 1.758 GB, free: 1.734 MB / 1.342 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001715/1.704, allocations: 1.444 MB / 1.759 GB, free: 296 kB / 1.342 GB Notification: Performance of SimCode: time 4.81e-07/1.704, allocations: 0 / 1.759 GB, free: 296 kB / 1.342 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 8.733/10.44, allocations: 77.26 MB / 1.835 GB, free: 4.133 MB / 1.42 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.62/36.05, allocations: 17.03 kB / 1.835 GB, free: 4.121 MB / 1.42 GB (rm -f Buildings_11_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust_fmu --startTime=0 --stopTime=172800 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust.fmu > Buildings_11_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe 2>&1)