Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.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.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u",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.004784/0.004784, allocations: 100.5 kB / 15.73 MB, free: 6.047 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.001268/0.001268, allocations: 195.4 kB / 16.67 MB, free: 5.949 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.598/2.598, allocations: 469.8 MB / 0.7425 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001817/0.001817, allocations: 67.89 kB / 1.065 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7007/0.7026, allocations: 159.1 MB / 1.22 GB, free: 2.008 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.288/0.9906, allocations: 300.4 MB / 1.514 GB, free: 4.621 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.06414/1.055, allocations: 50.03 MB / 1.562 GB, free: 2.457 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007864/1.063, allocations: 298.2 kB / 1.563 GB, free: 2.164 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.5533/1.616, allocations: 3.409 MB / 1.566 GB, free: 73.31 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.02071/1.637, allocations: 9.036 MB / 1.575 GB, free: 73.26 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.01502/1.652, allocations: 6.651 MB / 1.581 GB, free: 73.18 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.01984/1.672, allocations: 18.48 MB / 1.599 GB, free: 73.14 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005957/1.678, allocations: 5.835 MB / 1.605 GB, free: 72.42 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01246/1.69, allocations: 7.379 MB / 1.612 GB, free: 72.27 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006481/1.697, allocations: 5.079 MB / 1.617 GB, free: 71.32 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0008376/1.697, allocations: 0.5683 MB / 1.618 GB, free: 71.32 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008752/1.706, allocations: 4.382 MB / 1.622 GB, free: 71.23 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.001019/1.707, allocations: 1.503 MB / 1.624 GB, free: 70.97 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.003549/1.711, allocations: 3.74 MB / 1.627 GB, free: 69.93 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.01248/1.723, allocations: 10.47 MB / 1.637 GB, free: 68.39 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/1.723, allocations: 0 / 1.637 GB, free: 68.39 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.222e-06/1.723, allocations: 0 / 1.637 GB, free: 68.39 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0001801/1.723, allocations: 0 / 1.637 GB, free: 68.39 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: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.01017/1.734, allocations: 7.706 MB / 1.645 GB, free: 64.84 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/1.734, allocations: 19.09 kB / 1.645 GB, free: 64.83 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005185/1.734, allocations: 0.5391 MB / 1.646 GB, free: 64.77 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00189/1.736, allocations: 0.8182 MB / 1.646 GB, free: 64.37 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007094/1.743, allocations: 5.405 MB / 1.652 GB, free: 63.2 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001592/1.743, allocations: 322.7 kB / 1.652 GB, free: 63.18 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004295/1.744, allocations: 438.5 kB / 1.652 GB, free: 63.18 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005403/1.749, allocations: 4.379 MB / 1.657 GB, free: 62.38 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.951e-05/1.749, allocations: 15.06 kB / 1.657 GB, free: 62.38 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002922/1.75, allocations: 174 kB / 1.657 GB, free: 62.38 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.937e-05/1.75, allocations: 119.9 kB / 1.657 GB, free: 62.38 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003912/1.754, allocations: 2.957 MB / 1.66 GB, free: 62.34 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.0166/1.77, allocations: 25.18 MB / 1.684 GB, free: 45.61 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00214/1.772, allocations: 2.757 MB / 1.687 GB, free: 44.25 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001074/1.773, allocations: 0.9959 MB / 1.688 GB, free: 44.14 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001674/1.775, allocations: 3.908 MB / 1.692 GB, free: 39.63 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/1.775, allocations: 63.5 kB / 1.692 GB, free: 39.59 MB / 1.279 GB Notification: Performance of pre-optimization done (n=217): time 3.877e-06/1.775, allocations: 0 / 1.692 GB, free: 39.59 MB / 1.279 GB Notification: Performance of matching and sorting (n=217): time 0.008239/1.783, allocations: 4.11 MB / 1.696 GB, free: 38.15 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/1.783, allocations: 76.81 kB / 1.696 GB, free: 38.09 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004279/1.788, allocations: 4.294 MB / 1.7 GB, free: 36.14 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0001791/1.788, allocations: 81.33 kB / 1.7 GB, free: 36.09 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.001281/1.789, allocations: 2.836 MB / 1.703 GB, free: 33.81 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004547/1.79, allocations: 0.7926 MB / 1.704 GB, free: 33.03 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000552/1.79, allocations: 0.5781 MB / 1.704 GB, free: 32.45 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 2.857e-05/1.79, allocations: 305.1 kB / 1.705 GB, free: 32.15 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/1.791, allocations: 0.8231 MB / 1.705 GB, free: 31.32 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001436/1.793, allocations: 1.82 MB / 1.707 GB, free: 29.08 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002471/1.795, allocations: 2.514 MB / 1.71 GB, free: 26.33 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-06/1.795, allocations: 8 kB / 1.71 GB, free: 26.32 MB / 1.279 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.005634/1.801, allocations: 3.587 MB / 1.713 GB, free: 22.84 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/1.801, allocations: 12 kB / 1.713 GB, free: 22.83 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/1.801, allocations: 24 kB / 1.713 GB, free: 22.8 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002178/1.803, allocations: 0.5835 MB / 1.714 GB, free: 22.23 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/1.805, allocations: 0.5543 MB / 1.714 GB, free: 21.71 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001293/1.806, allocations: 2.688 MB / 1.717 GB, free: 18.94 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002682/1.809, allocations: 330 kB / 1.717 GB, free: 18.61 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001677/1.809, allocations: 136 kB / 1.717 GB, free: 18.48 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002148/1.811, allocations: 1.572 MB / 1.719 GB, free: 16.9 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001417/1.812, allocations: 1.796 MB / 1.721 GB, free: 14.69 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002424/1.815, allocations: 2.462 MB / 1.723 GB, free: 11.99 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.296e-06/1.815, allocations: 4 kB / 1.723 GB, free: 11.99 MB / 1.279 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.004935/1.82, allocations: 3.337 MB / 1.726 GB, free: 8.734 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/1.82, allocations: 21.97 kB / 1.726 GB, free: 8.715 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/1.82, allocations: 20 kB / 1.726 GB, free: 8.695 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000796/1.821, allocations: 369.3 kB / 1.727 GB, free: 8.328 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/1.822, allocations: 0.5546 MB / 1.727 GB, free: 7.812 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005625/1.828, allocations: 8.461 MB / 1.736 GB, free: 14.84 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0032/1.831, allocations: 303.5 kB / 1.736 GB, free: 14.54 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002115/1.831, allocations: 130.8 kB / 1.736 GB, free: 14.41 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * 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 (323): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,12), (1,9), (1,12), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0006037/1.832, allocations: 370.1 kB / 1.736 GB, free: 14.08 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008651/1.833, allocations: 0.5318 MB / 1.737 GB, free: 13.55 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005993/1.839, allocations: 3.567 MB / 1.74 GB, free: 9.988 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.615e-05/1.839, allocations: 35.97 kB / 1.74 GB, free: 9.953 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/1.839, allocations: 4 kB / 1.74 GB, free: 9.949 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003761/1.842, allocations: 2.438 MB / 1.743 GB, free: 7.488 MB / 1.295 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 postOpt removeSimpleEquations (simulation): time 0.01142/1.854, allocations: 8.21 MB / 1.751 GB, free: 15.11 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/1.854, allocations: 3.281 kB / 1.751 GB, free: 15.11 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001269/1.855, allocations: 363.7 kB / 1.751 GB, free: 14.77 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007348/1.856, allocations: 303 kB / 1.751 GB, free: 14.47 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001218/1.856, allocations: 63.97 kB / 1.751 GB, free: 14.41 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001737/1.858, allocations: 2.498 MB / 1.754 GB, free: 11.82 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.858, allocations: 256 / 1.754 GB, free: 11.82 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006672/1.864, allocations: 4.375 MB / 1.758 GB, free: 7.391 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001477/1.866, allocations: 0.903 MB / 1.759 GB, free: 6.465 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004791/1.866, allocations: 43.98 kB / 1.759 GB, free: 6.422 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001997/1.868, allocations: 123.8 kB / 1.759 GB, free: 6.301 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002364/1.869, allocations: 149.8 kB / 1.759 GB, free: 6.156 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001946/1.869, allocations: 107.9 kB / 1.759 GB, free: 6.051 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.004003/1.873, allocations: 2.852 MB / 1.762 GB, free: 3.227 MB / 1.311 GB Notification: Performance of sort global known variables: time 1.7e-07/1.873, allocations: 0 / 1.762 GB, free: 3.227 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.006764/1.88, allocations: 3.266 MB / 1.765 GB, free: 15.95 MB / 1.326 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * 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 (219): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,9), (1,7), (1,9), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00895/1.889, allocations: 6.18 MB / 1.771 GB, free: 9.824 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.006875/1.895, allocations: 4.439 MB / 1.776 GB, free: 5.531 MB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/1.895, allocations: 4.062 kB / 1.776 GB, free: 5.527 MB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.001901/1.897, allocations: 1.238 MB / 1.777 GB, free: 4.332 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01062/1.908, allocations: 2.636 MB / 1.78 GB, free: 1.762 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04856/1.957, allocations: 32.05 MB / 1.811 GB, free: 0.8828 MB / 1.357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002451/1.959, allocations: 2.873 MB / 1.814 GB, free: 13.98 MB / 1.373 GB Notification: Performance of simCode: alias equations: time 0.003731/1.963, allocations: 1.159 MB / 1.815 GB, free: 12.84 MB / 1.373 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002949/1.966, allocations: 2.531 MB / 1.817 GB, free: 10.31 MB / 1.373 GB Notification: Performance of SimCode: time 7.61e-07/1.966, allocations: 0 / 1.817 GB, free: 10.31 MB / 1.373 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.649/3.615, allocations: 145.7 MB / 1.96 GB, free: 10.72 MB / 1.514 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.69/33.31, allocations: 0 / 1.96 GB, free: 10.72 MB / 1.514 GB (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u.fmu > Buildings_11_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)