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.001341/0.001342, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001456/0.001457, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.08/2.08, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.21/1.21, allocations: 132.3 MB / 423.2 MB, free: 2.191 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004247/0.0004251, allocations: 12 kB / 0.5033 GB, free: 4.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7464/0.7469, allocations: 81.57 MB / 0.583 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u): time 1.178/1.925, allocations: 250.9 MB / 0.828 GB, free: 54.53 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.08566/2.011, allocations: 43.02 MB / 0.87 GB, free: 54.09 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01969/2.03, allocations: 250.3 kB / 0.8702 GB, free: 54.09 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.01743/2.048, allocations: 2.974 MB / 0.8731 GB, free: 54.08 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.05534/2.103, allocations: 9.195 MB / 0.8821 GB, free: 53.96 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.03365/2.137, allocations: 5.955 MB / 0.8879 GB, free: 53.85 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.04503/2.182, allocations: 10.82 MB / 0.8985 GB, free: 53.12 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01777/2.2, allocations: 4.348 MB / 0.9027 GB, free: 51.56 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02573/2.226, allocations: 5.413 MB / 0.908 GB, free: 50.87 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01479/2.241, allocations: 3.207 MB / 0.9111 GB, free: 50.41 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.003994/2.245, allocations: 231.6 kB / 0.9114 GB, free: 50.41 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02572/2.27, allocations: 2.791 MB / 0.9141 GB, free: 50.15 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.00537/2.276, allocations: 1.03 MB / 0.9151 GB, free: 49.91 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.007813/2.284, allocations: 1.378 MB / 0.9164 GB, free: 49.65 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.02225/2.306, allocations: 7.306 MB / 0.9236 GB, free: 45.08 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/2.306, allocations: 0 / 0.9236 GB, free: 45.08 MB / 0.6387 GB Notification: Performance of FrontEnd: time 4.9e-06/2.306, allocations: 0 / 0.9236 GB, free: 45.08 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0004566/2.307, allocations: 0 / 0.9236 GB, free: 45.08 MB / 0.6387 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.02579/2.332, allocations: 6.245 MB / 0.9297 GB, free: 39.29 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 7.413e-05/2.332, allocations: 12.03 kB / 0.9297 GB, free: 39.28 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003007/2.335, allocations: 0.5453 MB / 0.9302 GB, free: 38.98 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005612/2.341, allocations: 0.7862 MB / 0.931 GB, free: 38.19 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01906/2.36, allocations: 4.691 MB / 0.9356 GB, free: 34.84 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005292/2.361, allocations: 325.5 kB / 0.9359 GB, free: 34.66 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001945/2.363, allocations: 429.6 kB / 0.9363 GB, free: 34.37 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0148/2.378, allocations: 4.321 MB / 0.9405 GB, free: 31.14 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001689/2.378, allocations: 15.88 kB / 0.9405 GB, free: 31.12 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007751/2.379, allocations: 177 kB / 0.9407 GB, free: 31.08 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001779/2.379, allocations: 115.7 kB / 0.9408 GB, free: 30.97 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01178/2.391, allocations: 2.944 MB / 0.9437 GB, free: 29.03 MB / 0.6387 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.05256/2.443, allocations: 25.17 MB / 0.9683 GB, free: 6.082 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005455/2.449, allocations: 2.754 MB / 0.9709 GB, free: 3.387 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004146/2.453, allocations: 3.911 MB / 0.9748 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001457/2.453, allocations: 68.52 kB / 0.9748 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=217): time 1.481e-05/2.453, allocations: 0 / 0.9748 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of matching and sorting (n=217): time 0.02259/2.476, allocations: 4.055 MB / 0.9788 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/2.476, allocations: 73.41 kB / 0.9789 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01779/2.494, allocations: 4.4 MB / 0.9832 GB, free: 5.953 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0009341/2.495, allocations: 81.7 kB / 0.9832 GB, free: 5.867 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.005526/2.5, allocations: 2.789 MB / 0.986 GB, free: 3.07 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.00211/2.503, allocations: 0.7722 MB / 0.9867 GB, free: 2.305 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005709/2.503, allocations: 60 kB / 0.9868 GB, free: 2.246 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0004921/2.504, allocations: 415.8 kB / 0.9872 GB, free: 1.836 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003369/2.507, allocations: 0.7865 MB / 0.9879 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004945/2.512, allocations: 1.781 MB / 0.9897 GB, free: 14.83 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004183/2.516, allocations: 1.072 MB / 0.9907 GB, free: 13.75 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.901e-05/2.516, allocations: 8 kB / 0.9907 GB, free: 13.74 MB / 0.67 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.01763/2.534, allocations: 3.487 MB / 0.9941 GB, free: 10.2 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.007332/2.541, allocations: 10.31 MB / 1.004 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001151/2.542, allocations: 27.94 kB / 1.004 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005046/2.547, allocations: 0.565 MB / 1.005 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004342/2.551, allocations: 0.5655 MB / 1.005 GB, free: 13.97 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004352/2.556, allocations: 2.68 MB / 1.008 GB, free: 11.19 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01143/2.567, allocations: 0.6217 MB / 1.009 GB, free: 10.56 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001151/2.568, allocations: 132 kB / 1.009 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/2.568, allocations: 4 kB / 1.009 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0134/2.582, allocations: 2.801 MB / 1.011 GB, free: 7.574 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001041/2.582, allocations: 20 kB / 1.011 GB, free: 7.555 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001934/2.584, allocations: 383.5 kB / 1.012 GB, free: 7.172 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004133/2.588, allocations: 0.5538 MB / 1.012 GB, free: 6.617 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01664/2.605, allocations: 7.784 MB / 1.02 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01016/2.615, allocations: 0.5631 MB / 1.02 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001095/2.616, allocations: 132 kB / 1.021 GB, free: 13.57 MB / 0.7012 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 12,1 9,1 12,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.006233/2.622, allocations: 1.001 MB / 1.022 GB, free: 12.56 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003272/2.626, allocations: 0.5094 MB / 1.022 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01623/2.642, allocations: 3.572 MB / 1.026 GB, free: 8.418 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001154/2.642, allocations: 38.48 kB / 1.026 GB, free: 8.383 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-05/2.642, allocations: 0 / 1.026 GB, free: 8.383 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008466/2.651, allocations: 2.443 MB / 1.028 GB, free: 5.898 MB / 0.7012 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.03308/2.684, allocations: 8.277 MB / 1.036 GB, free: 13.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.577e-05/2.684, allocations: 4 kB / 1.036 GB, free: 13.41 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002999/2.687, allocations: 367.6 kB / 1.036 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001617/2.689, allocations: 298 kB / 1.037 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000399/2.689, allocations: 67.95 kB / 1.037 GB, free: 12.69 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003298/2.692, allocations: 2.497 MB / 1.039 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/2.692, allocations: 0 / 1.039 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01518/2.707, allocations: 4.433 MB / 1.044 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005885/2.713, allocations: 1.021 MB / 1.045 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002517/2.716, allocations: 51.98 kB / 1.045 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008629/2.725, allocations: 422.7 kB / 1.045 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000706/2.725, allocations: 153.8 kB / 1.045 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006654/2.726, allocations: 115.9 kB / 1.045 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.01081/2.737, allocations: 2.914 MB / 1.048 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.713e-06/2.737, allocations: 4 kB / 1.048 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.02231/2.759, allocations: 3.321 MB / 1.051 GB, free: 13.57 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0218/2.781, allocations: 6.398 MB / 1.058 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01557/2.797, allocations: 4.399 MB / 1.062 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.48e-05/2.797, allocations: 0 / 1.062 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.004614/2.802, allocations: 1.229 MB / 1.063 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02704/2.829, allocations: 2.611 MB / 1.066 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06519/2.894, allocations: 29.35 MB / 1.094 GB, free: 476 kB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00727/2.901, allocations: 2.993 MB / 1.097 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.01081/2.912, allocations: 1.173 MB / 1.098 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00904/2.921, allocations: 2.541 MB / 1.101 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of SimCode: time 2.315e-06/2.921, allocations: 0 / 1.101 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.219/4.14, allocations: 147.9 MB / 1.245 GB, free: 80.19 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002272/4.141, allocations: 233.3 kB / 1.246 GB, free: 79.96 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/14.93, allocations: 0 / 1.246 GB, free: 79.96 MB / 0.7794 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/linux/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) Environment - environmentSimulation: