Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="IDEAS_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.001432/0.001432, allocations: 100.2 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.001827/0.001827, 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.465/2.465, 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.328/1.328, allocations: 132.2 MB / 423.2 MB, free: 2.207 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005366/0.0005366, allocations: 8 kB / 0.5033 GB, free: 4.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8598/0.8604, allocations: 81.57 MB / 0.583 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater): time 0.0367/0.8972, allocations: 19.61 MB / 0.6021 GB, free: 6.281 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01606/0.9133, allocations: 5.862 MB / 0.6078 GB, free: 1.762 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002114/0.9155, allocations: 24.97 kB / 0.6079 GB, free: 1.75 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002319/0.9178, allocations: 323.2 kB / 0.6082 GB, free: 1.477 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006468/0.9243, allocations: 0.9344 MB / 0.6091 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005662/0.93, allocations: 0.932 MB / 0.61 GB, free: 80 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.008679/0.9387, allocations: 1.956 MB / 0.6119 GB, free: 14.82 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003598/0.9424, allocations: 0.9029 MB / 0.6128 GB, free: 14.32 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003914/0.9464, allocations: 0.8064 MB / 0.6136 GB, free: 13.85 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003134/0.9496, allocations: 0.5561 MB / 0.6141 GB, free: 13.53 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007321/0.9504, allocations: 37.03 kB / 0.6142 GB, free: 13.53 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004443/0.9549, allocations: 470.3 kB / 0.6146 GB, free: 13.34 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001097/0.956, allocations: 204 kB / 0.6148 GB, free: 13.2 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001657/0.9577, allocations: 248.5 kB / 0.615 GB, free: 13.06 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004739/0.9625, allocations: 1.369 MB / 0.6164 GB, free: 12.18 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.9625, allocations: 0 / 0.6164 GB, free: 12.18 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.527e-06/0.9626, allocations: 4 kB / 0.6164 GB, free: 12.17 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001239/0.9627, allocations: 1.094 kB / 0.6164 GB, free: 12.17 MB / 462.1 MB 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.007116/0.9698, allocations: 1.302 MB / 0.6177 GB, free: 11.16 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.881e-05/0.97, allocations: 9.781 kB / 0.6177 GB, free: 11.16 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009845/0.971, allocations: 125.6 kB / 0.6178 GB, free: 11.06 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001816/0.9728, allocations: 143 kB / 0.6179 GB, free: 10.99 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005787/0.9786, allocations: 1.07 MB / 0.619 GB, free: 10.23 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001448/0.9788, allocations: 53 kB / 0.619 GB, free: 10.21 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003063/0.9791, allocations: 75.84 kB / 0.6191 GB, free: 10.19 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003625/0.9828, allocations: 1.029 MB / 0.6201 GB, free: 9.535 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.252e-05/0.9829, allocations: 5.031 kB / 0.6201 GB, free: 9.531 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001466/0.983, allocations: 44.08 kB / 0.6201 GB, free: 9.496 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.973e-05/0.9831, allocations: 20.66 kB / 0.6202 GB, free: 9.496 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002743/0.9859, allocations: 0.7624 MB / 0.6209 GB, free: 9.117 MB / 462.1 MB 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.01308/0.999, allocations: 4.658 MB / 0.6254 GB, free: 4.523 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/1, allocations: 397.5 kB / 0.6258 GB, free: 4.129 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008087/1.001, allocations: 425.8 kB / 0.6262 GB, free: 3.621 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.153e-05/1.001, allocations: 46.89 kB / 0.6263 GB, free: 3.566 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 6.572e-06/1.001, allocations: 0 / 0.6263 GB, free: 3.566 MB / 462.1 MB Notification: Performance of matching and sorting (n=40): time 0.00315/1.004, allocations: 0.8556 MB / 0.6271 GB, free: 2.684 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.336e-05/1.004, allocations: 59.36 kB / 0.6272 GB, free: 2.613 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002342/1.007, allocations: 0.9934 MB / 0.6281 GB, free: 1.613 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001954/1.007, allocations: 37.7 kB / 0.6282 GB, free: 1.57 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008891/1.008, allocations: 0.5028 MB / 0.6287 GB, free: 1.059 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003634/1.008, allocations: 149.8 kB / 0.6288 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-05/1.008, allocations: 12 kB / 0.6288 GB, free: 0.8984 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002976/1.009, allocations: 334 kB / 0.6291 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005408/1.009, allocations: 217 kB / 0.6293 GB, free: 364 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008603/1.01, allocations: 430.6 kB / 0.6298 GB, free: 15.85 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007574/1.011, allocations: 313.6 kB / 0.6301 GB, free: 15.54 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/1.011, allocations: 0 / 0.6301 GB, free: 15.54 MB / 478.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002535/1.013, allocations: 0.7998 MB / 0.6308 GB, free: 14.73 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001872/1.015, allocations: 2.184 MB / 0.633 GB, free: 12.38 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.323e-05/1.015, allocations: 4 kB / 0.633 GB, free: 12.38 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006905/1.016, allocations: 88.8 kB / 0.6331 GB, free: 12.29 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006716/1.017, allocations: 115.8 kB / 0.6332 GB, free: 12.17 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008781/1.017, allocations: 0.6343 MB / 0.6338 GB, free: 11.51 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001835/1.019, allocations: 111.3 kB / 0.6339 GB, free: 11.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/1.019, allocations: 28 kB / 0.6339 GB, free: 11.38 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/1.019, allocations: 4 kB / 0.6339 GB, free: 11.37 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001856/1.021, allocations: 0.679 MB / 0.6346 GB, free: 10.69 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/1.021, allocations: 4.75 kB / 0.6346 GB, free: 10.68 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002775/1.022, allocations: 64.83 kB / 0.6347 GB, free: 10.62 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005295/1.022, allocations: 111.8 kB / 0.6348 GB, free: 10.51 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002828/1.025, allocations: 1.72 MB / 0.6364 GB, free: 8.645 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001687/1.027, allocations: 107.4 kB / 0.6365 GB, free: 8.539 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/1.027, allocations: 28 kB / 0.6366 GB, free: 8.512 MB / 478.1 MB 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.001548/1.028, allocations: 491.6 kB / 0.637 GB, free: 8.023 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004503/1.029, allocations: 90.97 kB / 0.6371 GB, free: 7.934 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001985/1.031, allocations: 0.6388 MB / 0.6378 GB, free: 7.285 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.211e-05/1.031, allocations: 7.984 kB / 0.6378 GB, free: 7.277 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/1.031, allocations: 4.188 kB / 0.6378 GB, free: 7.273 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001468/1.032, allocations: 0.821 MB / 0.6386 GB, free: 6.363 MB / 478.1 MB 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.005307/1.038, allocations: 1.703 MB / 0.6402 GB, free: 4.574 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/1.038, allocations: 128 / 0.6402 GB, free: 4.574 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005158/1.038, allocations: 83.89 kB / 0.6403 GB, free: 4.492 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002144/1.039, allocations: 40.81 kB / 0.6403 GB, free: 4.449 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.984e-05/1.039, allocations: 12 kB / 0.6404 GB, free: 4.438 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007796/1.039, allocations: 0.564 MB / 0.6409 GB, free: 3.848 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-06/1.039, allocations: 7.969 kB / 0.6409 GB, free: 3.84 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002482/1.042, allocations: 0.9969 MB / 0.6419 GB, free: 2.789 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001298/1.043, allocations: 279.8 kB / 0.6422 GB, free: 2.496 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001834/1.043, allocations: 15.94 kB / 0.6422 GB, free: 2.48 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001054/1.045, allocations: 71.86 kB / 0.6422 GB, free: 2.41 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.832e-05/1.045, allocations: 23.97 kB / 0.6423 GB, free: 2.387 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.357e-05/1.045, allocations: 27.98 kB / 0.6423 GB, free: 2.359 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00202/1.047, allocations: 0.7058 MB / 0.643 GB, free: 1.656 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.51e-07/1.047, allocations: 0 / 0.643 GB, free: 1.656 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00374/1.051, allocations: 0.5689 MB / 0.6435 GB, free: 1.086 MB / 478.1 MB 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.004558/1.055, allocations: 1.979 MB / 0.6455 GB, free: 15.07 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003175/1.058, allocations: 1.004 MB / 0.6464 GB, free: 14.05 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/1.058, allocations: 0 / 0.6464 GB, free: 14.05 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005613/1.059, allocations: 236.2 kB / 0.6467 GB, free: 13.82 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005085/1.064, allocations: 0.5486 MB / 0.6472 GB, free: 13.28 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02243/1.087, allocations: 9.896 MB / 0.6569 GB, free: 3.129 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001457/1.088, allocations: 1.248 MB / 0.6581 GB, free: 1.848 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002404/1.091, allocations: 476.4 kB / 0.6585 GB, free: 1.395 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008415/1.091, allocations: 359.3 kB / 0.6589 GB, free: 1.043 MB / 494.1 MB Notification: Performance of SimCode: time 2.094e-06/1.091, allocations: 0 / 0.6589 GB, free: 1.043 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08862/1.18, allocations: 29.04 MB / 0.6873 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004624/1.181, allocations: 273.7 kB / 0.6875 GB, free: 4.176 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.902/5.083, allocations: 2.344 kB / 0.6875 GB, free: 4.176 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1) Environment - environmentSimulation: