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.0007986/0.0007988, allocations: 98.03 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.004644/0.004645, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.333/1.333, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7121/0.7121, allocations: 132.3 MB / 423.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003093/0.0003093, allocations: 8.562 kB / 0.5041 GB, free: 3.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.3659, allocations: 81.57 MB / 0.5837 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater): time 0.02241/0.3884, allocations: 22.64 MB / 0.6059 GB, free: 3.648 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009888/0.3983, allocations: 6.785 MB / 0.6125 GB, free: 14.18 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008464/0.3992, allocations: 25.38 kB / 0.6125 GB, free: 14.17 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008112/0.4, allocations: 268.7 kB / 0.6128 GB, free: 13.95 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002053/0.4021, allocations: 0.8311 MB / 0.6136 GB, free: 13.29 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001719/0.4038, allocations: 0.6954 MB / 0.6143 GB, free: 12.8 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004272/0.4081, allocations: 4.662 MB / 0.6188 GB, free: 10.27 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001279/0.4094, allocations: 1.073 MB / 0.6199 GB, free: 9.688 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001526/0.4109, allocations: 0.939 MB / 0.6208 GB, free: 9.203 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001079/0.412, allocations: 0.8936 MB / 0.6216 GB, free: 8.688 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.097e-05/0.4121, allocations: 37.78 kB / 0.6217 GB, free: 8.688 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001548/0.4136, allocations: 0.7094 MB / 0.6224 GB, free: 8.297 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000228/0.4139, allocations: 218.6 kB / 0.6226 GB, free: 8.148 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006715/0.4146, allocations: 0.58 MB / 0.6231 GB, free: 7.777 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001879/0.4164, allocations: 1.809 MB / 0.6249 GB, free: 6.129 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4165, allocations: 3.938 kB / 0.6249 GB, free: 6.125 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4165, allocations: 0 / 0.6249 GB, free: 6.125 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.4165, allocations: 4 kB / 0.6249 GB, free: 6.121 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.001753/0.4182, allocations: 1.308 MB / 0.6262 GB, free: 4.758 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/0.4183, allocations: 8.031 kB / 0.6262 GB, free: 4.75 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001534/0.4185, allocations: 126.7 kB / 0.6263 GB, free: 4.617 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003668/0.4188, allocations: 143.4 kB / 0.6265 GB, free: 4.477 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001628/0.4205, allocations: 1.195 MB / 0.6276 GB, free: 3.242 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.212e-05/0.4205, allocations: 54 kB / 0.6277 GB, free: 3.188 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.4206, allocations: 79.98 kB / 0.6278 GB, free: 3.109 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/0.422, allocations: 1.041 MB / 0.6288 GB, free: 2.023 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/0.4221, allocations: 3.906 kB / 0.6288 GB, free: 2.02 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.034e-05/0.4221, allocations: 36 kB / 0.6288 GB, free: 1.984 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.173e-05/0.4222, allocations: 20 kB / 0.6288 GB, free: 1.965 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/0.4232, allocations: 0.7688 MB / 0.6296 GB, free: 1.191 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.004134/0.4274, allocations: 4.612 MB / 0.6341 GB, free: 12.23 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004874/0.4279, allocations: 388.8 kB / 0.6345 GB, free: 11.84 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003118/0.4282, allocations: 265.3 kB / 0.6347 GB, free: 11.58 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003392/0.4285, allocations: 433.8 kB / 0.6351 GB, free: 11.06 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.4286, allocations: 38.89 kB / 0.6352 GB, free: 11.02 MB / 478.1 MB Notification: Performance of pre-optimization done (n=40): time 1.513e-06/0.4286, allocations: 0 / 0.6352 GB, free: 11.02 MB / 478.1 MB Notification: Performance of matching and sorting (n=40): time 0.001608/0.4302, allocations: 0.8785 MB / 0.636 GB, free: 10.11 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.4302, allocations: 59.41 kB / 0.6361 GB, free: 10.04 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009707/0.4312, allocations: 0.9193 MB / 0.637 GB, free: 9.113 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.703e-05/0.4313, allocations: 37.7 kB / 0.637 GB, free: 9.07 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003482/0.4316, allocations: 0.5028 MB / 0.6375 GB, free: 8.559 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.4318, allocations: 141.9 kB / 0.6376 GB, free: 8.418 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.119e-05/0.4318, allocations: 57.69 kB / 0.6377 GB, free: 8.355 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.4319, allocations: 333.9 kB / 0.638 GB, free: 8.023 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002851/0.4322, allocations: 221 kB / 0.6382 GB, free: 7.809 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004226/0.4327, allocations: 438.6 kB / 0.6386 GB, free: 7.293 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007222/0.4334, allocations: 0.664 MB / 0.6393 GB, free: 6.555 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.4334, allocations: 4 kB / 0.6393 GB, free: 6.551 MB / 478.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001192/0.4346, allocations: 0.8136 MB / 0.6401 GB, free: 5.727 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001448/0.4348, allocations: 257.6 kB / 0.6403 GB, free: 5.395 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.4348, allocations: 4 kB / 0.6403 GB, free: 5.391 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003867/0.4352, allocations: 88.8 kB / 0.6404 GB, free: 5.301 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003245/0.4355, allocations: 107.8 kB / 0.6405 GB, free: 5.195 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004394/0.436, allocations: 0.642 MB / 0.6412 GB, free: 4.527 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006159/0.4366, allocations: 99.44 kB / 0.6412 GB, free: 4.43 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.544e-05/0.4367, allocations: 31.98 kB / 0.6413 GB, free: 4.398 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.911e-06/0.4367, allocations: 4 kB / 0.6413 GB, free: 4.395 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009543/0.4376, allocations: 0.6792 MB / 0.6419 GB, free: 3.711 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.4376, allocations: 4 kB / 0.6419 GB, free: 3.707 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000138/0.4378, allocations: 56.83 kB / 0.642 GB, free: 3.648 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003169/0.4381, allocations: 119.8 kB / 0.6421 GB, free: 3.531 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001548/0.4397, allocations: 1.728 MB / 0.6438 GB, free: 1.66 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005554/0.4402, allocations: 95.53 kB / 0.6439 GB, free: 1.566 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.215e-05/0.4403, allocations: 31.98 kB / 0.6439 GB, free: 1.535 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 (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0004701/0.4408, allocations: 480.7 kB / 0.6444 GB, free: 1.055 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.4409, allocations: 86.97 kB / 0.6445 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000927/0.4418, allocations: 0.6424 MB / 0.6451 GB, free: 332 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.4418, allocations: 7.938 kB / 0.6451 GB, free: 324 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.4418, allocations: 3.984 kB / 0.6451 GB, free: 320 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008021/0.4427, allocations: 0.8288 MB / 0.6459 GB, free: 15.39 MB / 494.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.002088/0.4448, allocations: 1.673 MB / 0.6475 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.4448, allocations: 3.938 kB / 0.6476 GB, free: 13.63 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002996/0.4451, allocations: 83.89 kB / 0.6476 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001089/0.4452, allocations: 44.94 kB / 0.6477 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.803e-05/0.4452, allocations: 19.94 kB / 0.6477 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003385/0.4456, allocations: 0.5641 MB / 0.6482 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4456, allocations: 0 / 0.6482 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.4467, allocations: 0.9576 MB / 0.6492 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003383/0.4471, allocations: 263.8 kB / 0.6494 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.937e-05/0.4472, allocations: 15.94 kB / 0.6494 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005651/0.4477, allocations: 67.83 kB / 0.6495 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.962e-05/0.4478, allocations: 27.97 kB / 0.6495 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.135e-05/0.4478, allocations: 23.98 kB / 0.6496 GB, free: 11.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000742/0.4486, allocations: 0.6512 MB / 0.6502 GB, free: 10.85 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4486, allocations: 0 / 0.6502 GB, free: 10.85 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001556/0.4502, allocations: 0.565 MB / 0.6507 GB, free: 10.28 MB / 494.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 (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001887/0.4521, allocations: 1.661 MB / 0.6524 GB, free: 8.594 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001429/0.4535, allocations: 1.011 MB / 0.6534 GB, free: 7.57 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.4535, allocations: 4 kB / 0.6534 GB, free: 7.566 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003385/0.4539, allocations: 236.8 kB / 0.6536 GB, free: 7.336 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002688/0.4566, allocations: 0.5695 MB / 0.6541 GB, free: 6.777 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01132/0.4679, allocations: 8.179 MB / 0.6621 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008183/0.4687, allocations: 1.235 MB / 0.6633 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001276/0.47, allocations: 452.2 kB / 0.6638 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004579/0.4705, allocations: 367.3 kB / 0.6641 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of SimCode: time 1.553e-06/0.4705, allocations: 0 / 0.6641 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2931/0.7636, allocations: 27.08 MB / 0.6906 GB, free: 1.629 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003404/0.764, allocations: 298.3 kB / 0.6909 GB, free: 1.25 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.397/3.161, allocations: 0 / 0.6909 GB, free: 1.25 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/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)