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.001506/0.001506, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.393/1.393, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.663/2.663, allocations: 469.8 MB / 0.7424 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 66.55 kB / 0.9086 GB, free: 34.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.274, allocations: 159.2 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.7621/1.036, allocations: 300.4 MB / 1.357 GB, free: 44.44 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.04786/1.084, allocations: 50.04 MB / 1.406 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008696/1.093, allocations: 295.2 kB / 1.407 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00726/1.1, allocations: 3.409 MB / 1.41 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0213/1.121, allocations: 9.045 MB / 1.419 GB, free: 11.48 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.01495/1.136, allocations: 6.583 MB / 1.425 GB, free: 6.363 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.02331/1.16, allocations: 18.47 MB / 1.443 GB, free: 5 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009129/1.169, allocations: 5.839 MB / 1.449 GB, free: 15.06 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0156/1.184, allocations: 7.346 MB / 1.456 GB, free: 7.715 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008365/1.193, allocations: 5.071 MB / 1.461 GB, free: 2.621 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001807/1.195, allocations: 0.5664 MB / 1.462 GB, free: 2.055 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01126/1.206, allocations: 4.375 MB / 1.466 GB, free: 13.67 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.002185/1.208, allocations: 1.502 MB / 1.467 GB, free: 12.16 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.00529/1.213, allocations: 3.736 MB / 1.471 GB, free: 8.41 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01431/1.228, allocations: 10.31 MB / 1.481 GB, free: 14.07 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/1.228, allocations: 3.984 kB / 1.481 GB, free: 14.07 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.233e-06/1.228, allocations: 0 / 1.481 GB, free: 14.07 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001211/1.228, allocations: 4 kB / 1.481 GB, free: 14.07 MB / 1.076 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.01104/1.239, allocations: 7.474 MB / 1.488 GB, free: 6.449 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/1.239, allocations: 12.03 kB / 1.488 GB, free: 6.438 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006217/1.24, allocations: 0.5396 MB / 1.489 GB, free: 5.891 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001846/1.241, allocations: 0.7842 MB / 1.49 GB, free: 5.098 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007643/1.249, allocations: 5.046 MB / 1.495 GB, free: 15.97 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002404/1.249, allocations: 331.9 kB / 1.495 GB, free: 15.65 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005203/1.25, allocations: 427.9 kB / 1.495 GB, free: 15.23 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006496/1.256, allocations: 4.382 MB / 1.5 GB, free: 10.57 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.161e-05/1.256, allocations: 15.94 kB / 1.5 GB, free: 10.55 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003347/1.257, allocations: 180 kB / 1.5 GB, free: 10.38 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001065/1.257, allocations: 115.9 kB / 1.5 GB, free: 10.27 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004856/1.262, allocations: 2.965 MB / 1.503 GB, free: 7.297 MB / 1.092 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.02466/1.286, allocations: 25.28 MB / 1.527 GB, free: 11.98 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003066/1.29, allocations: 2.77 MB / 1.53 GB, free: 8.988 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001408/1.291, allocations: 0.9915 MB / 1.531 GB, free: 8.004 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003117/1.294, allocations: 3.908 MB / 1.535 GB, free: 3.23 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.425e-05/1.294, allocations: 64.56 kB / 1.535 GB, free: 3.156 MB / 1.123 GB Notification: Performance of pre-optimization done (n=217): time 3.907e-06/1.294, allocations: 0 / 1.535 GB, free: 3.156 MB / 1.123 GB Notification: Performance of matching and sorting (n=217): time 0.009685/1.304, allocations: 4.08 MB / 1.539 GB, free: 14.98 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/1.304, allocations: 73.41 kB / 1.539 GB, free: 14.9 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005544/1.309, allocations: 4.299 MB / 1.543 GB, free: 10.62 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001936/1.31, allocations: 81.7 kB / 1.543 GB, free: 10.54 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.00226/1.312, allocations: 2.784 MB / 1.546 GB, free: 7.727 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007147/1.313, allocations: 0.7586 MB / 1.547 GB, free: 6.957 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007305/1.313, allocations: 0.5724 MB / 1.547 GB, free: 6.379 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001135/1.313, allocations: 305.1 kB / 1.548 GB, free: 6.078 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001337/1.315, allocations: 0.8231 MB / 1.548 GB, free: 5.25 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002227/1.317, allocations: 1.822 MB / 1.55 GB, free: 2.992 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003512/1.321, allocations: 2.517 MB / 1.553 GB, free: 148 kB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/1.321, allocations: 4 kB / 1.553 GB, free: 144 kB / 1.139 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.007157/1.328, allocations: 3.555 MB / 1.556 GB, free: 12.52 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/1.328, allocations: 12 kB / 1.556 GB, free: 12.51 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.636e-05/1.328, allocations: 20 kB / 1.556 GB, free: 12.49 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002506/1.33, allocations: 0.5939 MB / 1.557 GB, free: 11.88 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001567/1.332, allocations: 0.5499 MB / 1.557 GB, free: 11.33 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002152/1.334, allocations: 2.692 MB / 1.56 GB, free: 8.539 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002714/1.337, allocations: 338.7 kB / 1.56 GB, free: 8.207 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00021/1.337, allocations: 136 kB / 1.56 GB, free: 8.074 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002665/1.34, allocations: 1.576 MB / 1.562 GB, free: 6.492 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002156/1.342, allocations: 1.798 MB / 1.564 GB, free: 4.254 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003378/1.345, allocations: 2.459 MB / 1.566 GB, free: 1.465 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.131e-05/1.345, allocations: 8 kB / 1.566 GB, free: 1.457 MB / 1.154 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.005785/1.351, allocations: 3.314 MB / 1.569 GB, free: 14.07 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/1.351, allocations: 12 kB / 1.569 GB, free: 14.06 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.301e-05/1.351, allocations: 28.16 kB / 1.569 GB, free: 14.04 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009234/1.352, allocations: 370.4 kB / 1.57 GB, free: 13.66 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001545/1.354, allocations: 0.5499 MB / 1.57 GB, free: 13.11 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008064/1.362, allocations: 8.455 MB / 1.579 GB, free: 4.059 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002853/1.365, allocations: 309.2 kB / 1.579 GB, free: 3.758 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001965/1.365, allocations: 136 kB / 1.579 GB, free: 3.625 MB / 1.17 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.0005716/1.365, allocations: 371.8 kB / 1.579 GB, free: 3.254 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008437/1.366, allocations: 0.5094 MB / 1.58 GB, free: 2.738 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005959/1.372, allocations: 3.577 MB / 1.583 GB, free: 15.09 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-05/1.372, allocations: 43.86 kB / 1.583 GB, free: 15.05 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/1.372, allocations: 3.984 kB / 1.583 GB, free: 15.05 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003792/1.376, allocations: 2.435 MB / 1.586 GB, free: 12.56 MB / 1.186 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.01139/1.387, allocations: 8.248 MB / 1.594 GB, free: 4.027 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/1.387, allocations: 0 / 1.594 GB, free: 4.027 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001226/1.389, allocations: 367.4 kB / 1.594 GB, free: 3.668 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007033/1.389, allocations: 315.1 kB / 1.594 GB, free: 3.348 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001145/1.389, allocations: 67.97 kB / 1.594 GB, free: 3.281 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001791/1.391, allocations: 2.498 MB / 1.597 GB, free: 0.6797 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.391, allocations: 0 / 1.597 GB, free: 0.6797 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006535/1.398, allocations: 4.329 MB / 1.601 GB, free: 12.27 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001421/1.399, allocations: 0.8922 MB / 1.602 GB, free: 11.35 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004774/1.4, allocations: 44 kB / 1.602 GB, free: 11.3 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001954/1.402, allocations: 119.8 kB / 1.602 GB, free: 11.19 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002308/1.402, allocations: 149.8 kB / 1.602 GB, free: 11.04 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001871/1.402, allocations: 111.9 kB / 1.602 GB, free: 10.93 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.003965/1.406, allocations: 2.844 MB / 1.605 GB, free: 8.113 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.71e-07/1.406, allocations: 0 / 1.605 GB, free: 8.113 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.00667/1.413, allocations: 3.234 MB / 1.608 GB, free: 4.871 MB / 1.201 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.008876/1.422, allocations: 6.157 MB / 1.614 GB, free: 14.62 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.01072/1.432, allocations: 4.873 MB / 1.619 GB, free: 9.688 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/1.432, allocations: 0 / 1.619 GB, free: 9.688 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001879/1.434, allocations: 1.234 MB / 1.62 GB, free: 8.457 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01013/1.444, allocations: 2.636 MB / 1.623 GB, free: 5.895 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05352/1.498, allocations: 42.74 MB / 1.665 GB, free: 7.168 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002429/1.5, allocations: 2.873 MB / 1.667 GB, free: 4.266 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.00411/1.505, allocations: 1.16 MB / 1.669 GB, free: 3.098 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002857/1.507, allocations: 2.53 MB / 1.671 GB, free: 0.5664 MB / 1.264 GB Notification: Performance of SimCode: time 6.81e-07/1.507, allocations: 0 / 1.671 GB, free: 0.5664 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.741/5.248, allocations: 148.4 MB / 1.816 GB, free: 471.3 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.86/27.11, allocations: 23.02 kB / 1.816 GB, free: 471.3 MB / 1.342 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)