Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.716/1.716, allocations: 292.3 MB / 308.1 MB, free: 4.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0015/0.0015, allocations: 190.2 kB / 376.9 MB, free: 1.812 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.697/1.697, allocations: 205.1 MB / 0.6354 GB, free: 9.781 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001099/0.001099, allocations: 96.22 kB / 0.748 GB, free: 61.21 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001045/0.001045, allocations: 55.91 kB / 0.8704 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2893, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.82/1.109, allocations: 298.2 MB / 1.273 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.07686/1.186, allocations: 49.74 MB / 1.322 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01443/1.201, allocations: 266.2 kB / 1.322 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.01295/1.214, allocations: 2.782 MB / 1.325 GB, free: 7.566 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.03005/1.244, allocations: 8.381 MB / 1.333 GB, free: 15.15 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.01964/1.263, allocations: 6.022 MB / 1.339 GB, free: 9.137 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.03434/1.298, allocations: 24.59 MB / 1.363 GB, free: 488 kB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01162/1.309, allocations: 4.847 MB / 1.368 GB, free: 11.56 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01877/1.328, allocations: 6.44 MB / 1.374 GB, free: 5.09 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.7582/2.087, allocations: 5.094 MB / 1.379 GB, free: 54.96 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.002995/2.09, allocations: 305.8 kB / 1.379 GB, free: 54.96 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01499/2.105, allocations: 3.983 MB / 1.383 GB, free: 54.96 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.003139/2.108, allocations: 1.238 MB / 1.384 GB, free: 54.96 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.01313/2.121, allocations: 3.439 MB / 1.388 GB, free: 54.96 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.03224/2.153, allocations: 10.14 MB / 1.398 GB, free: 54.67 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/2.153, allocations: 0 / 1.398 GB, free: 54.67 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.803e-06/2.153, allocations: 0 / 1.398 GB, free: 54.67 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0006636/2.154, allocations: 0.8438 kB / 1.398 GB, free: 54.67 MB / 0.9323 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.02836/2.182, allocations: 7.467 MB / 1.405 GB, free: 51.31 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.435e-05/2.182, allocations: 9.531 kB / 1.405 GB, free: 51.31 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004986/2.187, allocations: 0.7856 MB / 1.406 GB, free: 50.94 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0154/2.203, allocations: 5.159 MB / 1.411 GB, free: 49.87 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005334/2.203, allocations: 322.3 kB / 1.411 GB, free: 49.86 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001962/2.205, allocations: 436.6 kB / 1.412 GB, free: 49.86 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01143/2.217, allocations: 4.379 MB / 1.416 GB, free: 49.07 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001041/2.217, allocations: 15.78 kB / 1.416 GB, free: 49.07 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004355/2.217, allocations: 174 kB / 1.416 GB, free: 49.07 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001148/2.218, allocations: 122.3 kB / 1.416 GB, free: 49.07 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005363/2.223, allocations: 2.962 MB / 1.419 GB, free: 49.04 MB / 0.9323 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.03056/2.254, allocations: 25.01 MB / 1.443 GB, free: 33.2 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002831/2.256, allocations: 2.757 MB / 1.446 GB, free: 32.02 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001407/2.258, allocations: 0.9956 MB / 1.447 GB, free: 32.02 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002511/2.26, allocations: 3.911 MB / 1.451 GB, free: 27.61 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.966e-05/2.26, allocations: 66.06 kB / 1.451 GB, free: 27.56 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=217): time 4.268e-06/2.26, allocations: 0 / 1.451 GB, free: 27.56 MB / 0.9323 GB Notification: Performance of matching and sorting (n=217): time 0.01077/2.271, allocations: 4.073 MB / 1.455 GB, free: 26.73 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/2.271, allocations: 76.97 kB / 1.455 GB, free: 26.66 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007464/2.279, allocations: 4.202 MB / 1.459 GB, free: 26.31 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0008492/2.28, allocations: 77.98 kB / 1.459 GB, free: 26.28 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.002194/2.282, allocations: 2.771 MB / 1.462 GB, free: 25.41 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.001115/2.283, allocations: 0.7598 MB / 1.463 GB, free: 24.93 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009536/2.284, allocations: 0.5793 MB / 1.463 GB, free: 24.88 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.008e-05/2.284, allocations: 311.2 kB / 1.464 GB, free: 24.58 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00147/2.285, allocations: 0.8183 MB / 1.464 GB, free: 24.55 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002411/2.288, allocations: 1.83 MB / 1.466 GB, free: 23.39 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003604/2.292, allocations: 2.513 MB / 1.469 GB, free: 22.52 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.359e-05/2.292, allocations: 6.188 kB / 1.469 GB, free: 22.52 MB / 0.9323 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.008396/2.3, allocations: 3.562 MB / 1.472 GB, free: 22.02 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 4.68e-05/2.3, allocations: 13.91 kB / 1.472 GB, free: 22.02 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.624e-05/2.3, allocations: 20.84 kB / 1.472 GB, free: 22.02 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002827/2.303, allocations: 0.5999 MB / 1.473 GB, free: 21.95 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002032/2.305, allocations: 0.5484 MB / 1.473 GB, free: 21.95 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002226/2.307, allocations: 2.677 MB / 1.476 GB, free: 19.86 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006751/2.314, allocations: 0.6193 MB / 1.476 GB, free: 19.68 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005471/2.315, allocations: 135.3 kB / 1.477 GB, free: 19.68 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004833/2.319, allocations: 1.563 MB / 1.478 GB, free: 19.59 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002916/2.322, allocations: 1.807 MB / 1.48 GB, free: 18.43 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004309/2.327, allocations: 2.465 MB / 1.482 GB, free: 17.55 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.582e-05/2.327, allocations: 9.906 kB / 1.482 GB, free: 17.55 MB / 0.9323 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.008832/2.336, allocations: 3.315 MB / 1.485 GB, free: 17.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.812e-05/2.336, allocations: 14.16 kB / 1.485 GB, free: 17.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.797e-05/2.336, allocations: 21.53 kB / 1.486 GB, free: 17.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/2.337, allocations: 373 kB / 1.486 GB, free: 17.05 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002046/2.339, allocations: 0.5529 MB / 1.486 GB, free: 17.05 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009567/2.348, allocations: 7.697 MB / 1.494 GB, free: 27.39 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00803/2.356, allocations: 0.5949 MB / 1.495 GB, free: 27.25 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008215/2.357, allocations: 131.6 kB / 1.495 GB, free: 27.25 MB / 0.948 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.001633/2.359, allocations: 365.8 kB / 1.495 GB, free: 27.06 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002955/2.362, allocations: 0.5038 MB / 1.495 GB, free: 26.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009722/2.372, allocations: 3.587 MB / 1.499 GB, free: 26.41 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.537e-05/2.372, allocations: 38.77 kB / 1.499 GB, free: 26.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.912e-05/2.372, allocations: 1.859 kB / 1.499 GB, free: 26.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004915/2.377, allocations: 2.437 MB / 1.501 GB, free: 26.16 MB / 0.948 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.02714/2.404, allocations: 8.2 MB / 1.509 GB, free: 24.58 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.448e-05/2.404, allocations: 0 / 1.509 GB, free: 24.58 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001521/2.406, allocations: 367.6 kB / 1.51 GB, free: 24.58 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007828/2.406, allocations: 308.2 kB / 1.51 GB, free: 24.52 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000338/2.407, allocations: 66.69 kB / 1.51 GB, free: 24.52 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002086/2.409, allocations: 2.499 MB / 1.513 GB, free: 22.42 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/2.409, allocations: 2.188 kB / 1.513 GB, free: 22.42 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05682/2.466, allocations: 25.33 MB / 1.537 GB, free: 13.86 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004114/2.47, allocations: 0.8744 MB / 1.538 GB, free: 13.47 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002111/2.472, allocations: 40.53 kB / 1.538 GB, free: 13.47 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006301/2.478, allocations: 430.2 kB / 1.539 GB, free: 13.41 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006319/2.479, allocations: 155.6 kB / 1.539 GB, free: 13.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006546/2.48, allocations: 107.7 kB / 1.539 GB, free: 13.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.007897/2.488, allocations: 2.778 MB / 1.542 GB, free: 13.21 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.4e-07/2.488, allocations: 3 kB / 1.542 GB, free: 13.21 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.03487/2.522, allocations: 4.982 MB / 1.546 GB, free: 12.68 MB / 0.948 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.004653/2.527, allocations: 1.464 MB / 1.548 GB, free: 12.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01104/2.538, allocations: 4.428 MB / 1.552 GB, free: 11.35 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.446e-05/2.538, allocations: 4.828 kB / 1.552 GB, free: 11.35 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002794/2.541, allocations: 1.228 MB / 1.553 GB, free: 10.96 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02044/2.562, allocations: 2.679 MB / 1.556 GB, free: 9.582 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02164/2.583, allocations: 13.33 MB / 1.569 GB, free: 13.08 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003205/2.586, allocations: 2.97 MB / 1.572 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.006993/2.594, allocations: 1.19 MB / 1.573 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001226/2.595, allocations: 423.8 kB / 1.573 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of SimCode: time 1.122e-06/2.595, allocations: 0 / 1.573 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of Templates: time 0.2345/2.829, allocations: 111.6 MB / 1.683 GB, free: 11.84 MB / 1.073 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)