Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",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.0013/0.0013, allocations: 99.55 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.001433/0.001433, allocations: 177.3 kB / 15.94 MB, free: 228 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.125/2.125, allocations: 223.2 MB / 239.9 MB, free: 5.234 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.693/1.693, allocations: 135.2 MB / 426.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006324/0.0006325, allocations: 8 kB / 0.5069 GB, free: 5.113 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.2827, allocations: 82.31 MB / 0.5873 GB, free: 2.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater): time 0.5824/0.8652, allocations: 19.58 MB / 0.6064 GB, free: 34.83 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01469/0.88, allocations: 5.866 MB / 0.6121 GB, free: 34.79 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001538/0.8816, allocations: 24.44 kB / 0.6122 GB, free: 34.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002004/0.8836, allocations: 330.9 kB / 0.6125 GB, free: 34.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006095/0.8898, allocations: 0.9279 MB / 0.6134 GB, free: 34.78 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005497/0.8953, allocations: 0.9358 MB / 0.6143 GB, free: 34.77 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006306/0.9016, allocations: 1.947 MB / 0.6162 GB, free: 34.77 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002328/0.904, allocations: 0.9068 MB / 0.6171 GB, free: 34.62 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002842/0.9069, allocations: 0.7992 MB / 0.6179 GB, free: 34.48 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001828/0.9087, allocations: 0.5696 MB / 0.6184 GB, free: 34.33 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003341/0.9091, allocations: 35 kB / 0.6185 GB, free: 34.33 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002938/0.9121, allocations: 470.9 kB / 0.6189 GB, free: 34.32 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000594/0.9127, allocations: 199.2 kB / 0.6191 GB, free: 34.28 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009027/0.9136, allocations: 251.2 kB / 0.6193 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002893/0.9165, allocations: 1.372 MB / 0.6207 GB, free: 34.11 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.9166, allocations: 7.938 kB / 0.6207 GB, free: 34.11 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.554e-06/0.9166, allocations: 0 / 0.6207 GB, free: 34.11 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.565e-05/0.9167, allocations: 0 / 0.6207 GB, free: 34.11 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.004396/0.9211, allocations: 1.302 MB / 0.6219 GB, free: 33.34 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.599e-05/0.9212, allocations: 8.312 kB / 0.622 GB, free: 33.34 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00054/0.9218, allocations: 130.6 kB / 0.6221 GB, free: 33.3 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001092/0.9229, allocations: 137.9 kB / 0.6222 GB, free: 33.23 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00389/0.9268, allocations: 1.072 MB / 0.6233 GB, free: 32.92 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/0.9269, allocations: 57.16 kB / 0.6233 GB, free: 32.91 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003396/0.9273, allocations: 75.06 kB / 0.6234 GB, free: 32.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003147/0.9305, allocations: 1.029 MB / 0.6244 GB, free: 32.74 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.057e-05/0.9305, allocations: 7.281 kB / 0.6244 GB, free: 32.74 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000182/0.9307, allocations: 29.69 kB / 0.6244 GB, free: 32.74 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.659e-05/0.9308, allocations: 27 kB / 0.6245 GB, free: 32.73 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00227/0.9331, allocations: 0.7574 MB / 0.6252 GB, free: 32.71 MB / 0.4981 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.009053/0.9422, allocations: 4.664 MB / 0.6297 GB, free: 29.95 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009399/0.9432, allocations: 388.5 kB / 0.6301 GB, free: 29.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004591/0.9437, allocations: 430.3 kB / 0.6305 GB, free: 29.46 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.782e-05/0.9438, allocations: 41.17 kB / 0.6306 GB, free: 29.41 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 4.228e-06/0.9438, allocations: 0 / 0.6306 GB, free: 29.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=40): time 0.002853/0.9467, allocations: 0.8528 MB / 0.6314 GB, free: 29.22 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.9467, allocations: 57.19 kB / 0.6315 GB, free: 29.16 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002122/0.9488, allocations: 0.9886 MB / 0.6324 GB, free: 28.79 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001263/0.949, allocations: 37.23 kB / 0.6325 GB, free: 28.75 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005897/0.9496, allocations: 0.5055 MB / 0.6329 GB, free: 28.36 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002475/0.9499, allocations: 152.2 kB / 0.6331 GB, free: 28.24 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.231e-05/0.9499, allocations: 12 kB / 0.6331 GB, free: 28.23 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.877e-05/0.95, allocations: 332.6 kB / 0.6334 GB, free: 27.91 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004967/0.9505, allocations: 220.8 kB / 0.6336 GB, free: 27.86 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006612/0.9512, allocations: 426.9 kB / 0.634 GB, free: 27.54 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006494/0.9519, allocations: 314 kB / 0.6343 GB, free: 27.44 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.756e-06/0.9519, allocations: 3.953 kB / 0.6343 GB, free: 27.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002111/0.954, allocations: 0.8102 MB / 0.6351 GB, free: 27.12 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000572/0.9546, allocations: 2.18 MB / 0.6373 GB, free: 24.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.108e-05/0.9546, allocations: 10.11 kB / 0.6373 GB, free: 24.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000557/0.9552, allocations: 85.91 kB / 0.6374 GB, free: 24.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005642/0.9558, allocations: 110.3 kB / 0.6375 GB, free: 24.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000565/0.9564, allocations: 0.6324 MB / 0.6381 GB, free: 24.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/0.9577, allocations: 114.3 kB / 0.6382 GB, free: 24.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.093e-05/0.9578, allocations: 29.77 kB / 0.6382 GB, free: 24.14 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.9578, allocations: 5.438 kB / 0.6382 GB, free: 24.14 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001462/0.9593, allocations: 0.6701 MB / 0.6389 GB, free: 23.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/0.9594, allocations: 8.5 kB / 0.6389 GB, free: 23.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002246/0.9596, allocations: 69.78 kB / 0.6389 GB, free: 23.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005174/0.9601, allocations: 111.2 kB / 0.6391 GB, free: 23.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001776/0.9619, allocations: 1.723 MB / 0.6407 GB, free: 22.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001359/0.9633, allocations: 106.4 kB / 0.6408 GB, free: 22.28 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-05/0.9634, allocations: 26.12 kB / 0.6409 GB, free: 22.28 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (64): * Single equations (assignments): 63 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.001085/0.9645, allocations: 488.4 kB / 0.6413 GB, free: 21.99 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004411/0.965, allocations: 97.28 kB / 0.6414 GB, free: 21.94 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00186/0.9668, allocations: 0.635 MB / 0.642 GB, free: 21.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.741e-05/0.9669, allocations: 5.25 kB / 0.642 GB, free: 21.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.9669, allocations: 3.953 kB / 0.6421 GB, free: 21.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001231/0.9681, allocations: 0.8159 MB / 0.6428 GB, free: 21.11 MB / 0.4981 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.004537/0.9727, allocations: 1.698 MB / 0.6445 GB, free: 20.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.427e-06/0.9727, allocations: 6.469 kB / 0.6445 GB, free: 20.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005654/0.9733, allocations: 82.66 kB / 0.6446 GB, free: 20.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001955/0.9735, allocations: 49.33 kB / 0.6446 GB, free: 20.24 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.935e-05/0.9736, allocations: 17.12 kB / 0.6447 GB, free: 20.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004427/0.974, allocations: 0.5661 MB / 0.6452 GB, free: 19.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.9741, allocations: 4.062 kB / 0.6452 GB, free: 19.68 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00208/0.9761, allocations: 0.9936 MB / 0.6462 GB, free: 19.16 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009595/0.9771, allocations: 281.3 kB / 0.6464 GB, free: 18.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003125/0.9775, allocations: 6.906 kB / 0.6465 GB, free: 18.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001285/0.9788, allocations: 74.39 kB / 0.6465 GB, free: 18.96 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.998e-05/0.9789, allocations: 38.67 kB / 0.6466 GB, free: 18.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/0.979, allocations: 30.36 kB / 0.6466 GB, free: 18.93 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001648/0.9806, allocations: 0.6979 MB / 0.6473 GB, free: 18.67 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.6e-07/0.9807, allocations: 0 / 0.6473 GB, free: 18.67 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003625/0.9843, allocations: 0.5669 MB / 0.6478 GB, free: 18.56 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (vol[1].dynBal.U,vol[2].dynBal.U,vol[3].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 (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003847/0.9882, allocations: 1.972 MB / 0.6498 GB, free: 17.21 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003289/0.9915, allocations: 1 MB / 0.6507 GB, free: 16.84 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/0.9915, allocations: 1.375 kB / 0.6507 GB, free: 16.84 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007923/0.9923, allocations: 240.5 kB / 0.651 GB, free: 16.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005706/0.9981, allocations: 0.5546 MB / 0.6515 GB, free: 16.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02554/1.024, allocations: 9.896 MB / 0.6612 GB, free: 26.05 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00274/1.026, allocations: 1.25 MB / 0.6624 GB, free: 25.26 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003389/1.03, allocations: 462.2 kB / 0.6628 GB, free: 25.21 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001128/1.031, allocations: 363.8 kB / 0.6632 GB, free: 24.95 MB / 0.5137 GB Notification: Performance of SimCode: time 1.512e-06/1.031, allocations: 0 / 0.6632 GB, free: 24.95 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1074/1.139, allocations: 29.06 MB / 0.6915 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003266/1.139, allocations: 286.2 kB / 0.6918 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.745/4.884, allocations: 0 / 0.6918 GB, free: 14.3 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1) Environment - environmentSimulation: