Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="IDEAS_IDEAS_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.0009713/0.0009714, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005055/0.005055, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.227/1.227, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7589/0.7589, allocations: 132.3 MB / 423.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003171/0.0003171, allocations: 8.625 kB / 0.5041 GB, free: 3.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3448, allocations: 81.57 MB / 0.5837 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.5053/0.8501, allocations: 294 MB / 0.8709 GB, free: 52.96 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.04749/0.8976, allocations: 49.61 MB / 0.9193 GB, free: 50.14 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008737/0.9064, allocations: 260.6 kB / 0.9196 GB, free: 50.14 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.007846/0.9143, allocations: 2.777 MB / 0.9223 GB, free: 48.73 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.02043/0.9347, allocations: 8.408 MB / 0.9305 GB, free: 43.34 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.01347/0.9482, allocations: 5.998 MB / 0.9363 GB, free: 39.51 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.02122/0.9695, allocations: 24.55 MB / 0.9603 GB, free: 17.95 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007959/0.9774, allocations: 4.724 MB / 0.9649 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01165/0.9891, allocations: 6.204 MB / 0.971 GB, free: 7.363 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006569/0.9957, allocations: 4.912 MB / 0.9758 GB, free: 2.867 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001556/0.9973, allocations: 228 kB / 0.976 GB, free: 2.645 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00983/1.007, allocations: 3.897 MB / 0.9798 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002066/1.009, allocations: 1.131 MB / 0.9809 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.005791/1.015, allocations: 3.324 MB / 0.9841 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01545/1.03, allocations: 9.922 MB / 0.9938 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/1.031, allocations: 0 / 0.9938 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.406e-06/1.031, allocations: 3.984 kB / 0.9938 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002591/1.031, allocations: 0 / 0.9938 GB, free: 1.137 MB / 0.6544 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.01012/1.041, allocations: 6.191 MB / 0.9999 GB, free: 10.89 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/1.041, allocations: 12.03 kB / 0.9999 GB, free: 10.88 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009341/1.042, allocations: 0.5396 MB / 1 GB, free: 10.34 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001762/1.044, allocations: 0.7841 MB / 1.001 GB, free: 9.543 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007255/1.051, allocations: 5.22 MB / 1.006 GB, free: 4.41 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001934/1.051, allocations: 319.1 kB / 1.007 GB, free: 4.098 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004762/1.052, allocations: 424 kB / 1.007 GB, free: 3.684 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006037/1.058, allocations: 4.386 MB / 1.011 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.718e-05/1.058, allocations: 19.78 kB / 1.011 GB, free: 15 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003105/1.058, allocations: 174.9 kB / 1.011 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.592e-05/1.058, allocations: 120 kB / 1.012 GB, free: 14.72 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004533/1.063, allocations: 2.972 MB / 1.014 GB, free: 11.74 MB / 0.6856 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.0263/1.089, allocations: 25.04 MB / 1.039 GB, free: 0.8516 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003206/1.092, allocations: 2.764 MB / 1.042 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001562/1.094, allocations: 1.007 MB / 1.043 GB, free: 12.89 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003731/1.098, allocations: 3.92 MB / 1.046 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.29e-05/1.098, allocations: 64.5 kB / 1.047 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=217): time 3.377e-06/1.098, allocations: 0 / 1.047 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of matching and sorting (n=217): time 0.009564/1.107, allocations: 4.103 MB / 1.051 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/1.107, allocations: 73.41 kB / 1.051 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005062/1.112, allocations: 4.24 MB / 1.055 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001862/1.113, allocations: 81.7 kB / 1.055 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.002095/1.115, allocations: 2.796 MB / 1.058 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006177/1.115, allocations: 0.7568 MB / 1.058 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000242/1.116, allocations: 231.6 kB / 1.058 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 7.845e-05/1.116, allocations: 305.1 kB / 1.059 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00127/1.117, allocations: 0.8138 MB / 1.06 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001895/1.119, allocations: 1.826 MB / 1.061 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003171/1.122, allocations: 2.525 MB / 1.064 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.059e-05/1.122, allocations: 8 kB / 1.064 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.006289/1.128, allocations: 3.576 MB / 1.067 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003971/1.129, allocations: 0.7345 MB / 1.068 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.421e-05/1.129, allocations: 24 kB / 1.068 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002354/1.131, allocations: 0.5845 MB / 1.069 GB, free: 152 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001522/1.133, allocations: 0.5577 MB / 1.069 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001764/1.134, allocations: 2.692 MB / 1.072 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003476/1.138, allocations: 0.5985 MB / 1.072 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000183/1.138, allocations: 136 kB / 1.073 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 6.973e-06/1.138, allocations: 6.5 kB / 1.073 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004208/1.142, allocations: 2.821 MB / 1.075 GB, free: 9.184 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.04e-05/1.142, allocations: 24.94 kB / 1.075 GB, free: 9.16 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008493/1.143, allocations: 371.3 kB / 1.076 GB, free: 8.785 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/1.145, allocations: 0.5577 MB / 1.076 GB, free: 8.227 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007134/1.152, allocations: 7.722 MB / 1.084 GB, free: 15.94 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003186/1.155, allocations: 0.5592 MB / 1.084 GB, free: 15.38 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001675/1.155, allocations: 135.9 kB / 1.084 GB, free: 15.25 MB / 0.7637 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.001722/1.157, allocations: 1.006 MB / 1.085 GB, free: 14.23 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005395/1.157, allocations: 0.5017 MB / 1.086 GB, free: 13.72 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005205/1.163, allocations: 3.576 MB / 1.089 GB, free: 10.09 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.644e-05/1.163, allocations: 43.97 kB / 1.089 GB, free: 10.05 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.163, allocations: 3.984 kB / 1.089 GB, free: 10.04 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003334/1.166, allocations: 2.446 MB / 1.092 GB, free: 7.547 MB / 0.7637 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.2399/1.406, allocations: 8.208 MB / 1.1 GB, free: 319.9 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.33e-05/1.406, allocations: 1.844 kB / 1.1 GB, free: 319.9 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001356/1.407, allocations: 371 kB / 1.1 GB, free: 319.9 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006724/1.408, allocations: 308.9 kB / 1.1 GB, free: 319.9 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001324/1.408, allocations: 66.91 kB / 1.101 GB, free: 319.9 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001221/1.409, allocations: 2.5 MB / 1.103 GB, free: 317.8 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/1.409, allocations: 4.656 kB / 1.103 GB, free: 317.8 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006743/1.416, allocations: 4.349 MB / 1.107 GB, free: 317.1 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002189/1.418, allocations: 0.9817 MB / 1.108 GB, free: 316.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005126/1.419, allocations: 42.53 kB / 1.108 GB, free: 316.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002836/1.422, allocations: 424.8 kB / 1.109 GB, free: 316.7 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00026/1.422, allocations: 156.4 kB / 1.109 GB, free: 316.7 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001785/1.422, allocations: 107.9 kB / 1.109 GB, free: 316.7 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.003903/1.426, allocations: 2.794 MB / 1.112 GB, free: 315.7 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.3e-07/1.426, allocations: 0 / 1.112 GB, free: 315.7 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.008446/1.435, allocations: 3.276 MB / 1.115 GB, free: 315.4 MB / 0.7637 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.007921/1.443, allocations: 6.156 MB / 1.121 GB, free: 312.7 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.005625/1.448, allocations: 4.447 MB / 1.125 GB, free: 310.9 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 7.014e-06/1.448, allocations: 3.906 kB / 1.125 GB, free: 310.9 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001478/1.45, allocations: 1.236 MB / 1.126 GB, free: 310.5 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01238/1.462, allocations: 2.636 MB / 1.129 GB, free: 310 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05286/1.515, allocations: 44.85 MB / 1.173 GB, free: 273.4 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00153/1.517, allocations: 2.877 MB / 1.176 GB, free: 270.5 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.003791/1.52, allocations: 1.151 MB / 1.177 GB, free: 269.3 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001969/1.522, allocations: 2.538 MB / 1.179 GB, free: 266.8 MB / 0.7637 GB Notification: Performance of SimCode: time 9.32e-07/1.522, allocations: 0 / 1.179 GB, free: 266.8 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.539/4.062, allocations: 142.4 MB / 1.318 GB, free: 125.7 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000146/4.062, allocations: 275.2 kB / 1.319 GB, free: 125.4 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.986/10.05, allocations: 0 / 1.319 GB, free: 125.4 MB / 0.7637 GB (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_HeaterCooler_u_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_HeaterCooler_u.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)