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: translateModel(IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater") translateModel(IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009131/0.0009131, allocations: 98.19 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.005462/0.005462, allocations: 171 kB / 16.27 MB, free: 6.332 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.406/1.406, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.097/1.097, allocations: 135.3 MB / 426.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004238/0.0004238, allocations: 8 kB / 0.5076 GB, free: 4.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2115, allocations: 82.31 MB / 0.588 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater): time 0.3965/0.608, allocations: 22.6 MB / 0.61 GB, free: 34.27 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009874/0.618, allocations: 6.787 MB / 0.6167 GB, free: 34.09 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001379/0.6194, allocations: 28.64 kB / 0.6167 GB, free: 34.08 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009943/0.6204, allocations: 263.2 kB / 0.617 GB, free: 34 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002755/0.6232, allocations: 0.8377 MB / 0.6178 GB, free: 33.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002197/0.6254, allocations: 0.6949 MB / 0.6184 GB, free: 33.73 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005033/0.6304, allocations: 4.667 MB / 0.623 GB, free: 33.17 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001592/0.632, allocations: 1.067 MB / 0.624 GB, free: 32.96 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001865/0.6339, allocations: 0.9417 MB / 0.625 GB, free: 32.72 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00186/0.6358, allocations: 0.8977 MB / 0.6258 GB, free: 32.49 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002154/0.636, allocations: 36.91 kB / 0.6259 GB, free: 32.49 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00289/0.6389, allocations: 0.7099 MB / 0.6266 GB, free: 32.43 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004572/0.6394, allocations: 222.6 kB / 0.6268 GB, free: 32.38 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001294/0.6407, allocations: 0.5769 MB / 0.6273 GB, free: 32.17 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003183/0.6439, allocations: 1.816 MB / 0.6291 GB, free: 31.85 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.6439, allocations: 0 / 0.6291 GB, free: 31.85 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.114e-06/0.6439, allocations: 0 / 0.6291 GB, free: 31.85 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.657e-05/0.6439, allocations: 4 kB / 0.6291 GB, free: 31.84 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.001852/0.6458, allocations: 1.3 MB / 0.6304 GB, free: 30.98 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.6458, allocations: 9.125 kB / 0.6304 GB, free: 30.98 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003776/0.6462, allocations: 141.4 kB / 0.6305 GB, free: 30.92 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00164/0.6479, allocations: 1.204 MB / 0.6317 GB, free: 30.3 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.494e-05/0.6479, allocations: 56.81 kB / 0.6318 GB, free: 30.28 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.6481, allocations: 78.28 kB / 0.6318 GB, free: 30.25 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/0.6495, allocations: 1.034 MB / 0.6329 GB, free: 29.82 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.468e-05/0.6495, allocations: 3.281 kB / 0.6329 GB, free: 29.82 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-05/0.6496, allocations: 33.72 kB / 0.6329 GB, free: 29.79 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.34e-05/0.6496, allocations: 31.09 kB / 0.6329 GB, free: 29.79 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000979/0.6506, allocations: 0.7614 MB / 0.6337 GB, free: 29.56 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.003808/0.6544, allocations: 4.611 MB / 0.6382 GB, free: 26.17 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004744/0.6549, allocations: 402.7 kB / 0.6385 GB, free: 26.03 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002985/0.6552, allocations: 264.9 kB / 0.6388 GB, free: 25.95 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002778/0.6555, allocations: 424.8 kB / 0.6392 GB, free: 25.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.6555, allocations: 41.8 kB / 0.6392 GB, free: 25.43 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 2.134e-06/0.6555, allocations: 0 / 0.6392 GB, free: 25.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=40): time 0.001656/0.6572, allocations: 0.8687 MB / 0.6401 GB, free: 25.07 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.6573, allocations: 56.66 kB / 0.6401 GB, free: 25.01 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009556/0.6582, allocations: 0.9184 MB / 0.641 GB, free: 24.67 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.57e-05/0.6583, allocations: 39.86 kB / 0.6411 GB, free: 24.63 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003039/0.6586, allocations: 0.5031 MB / 0.6416 GB, free: 24.23 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.6587, allocations: 142.2 kB / 0.6417 GB, free: 24.12 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.724e-05/0.6588, allocations: 50.52 kB / 0.6418 GB, free: 24.09 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.518e-05/0.6589, allocations: 336.6 kB / 0.6421 GB, free: 23.77 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002734/0.6591, allocations: 223.6 kB / 0.6423 GB, free: 23.71 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003768/0.6595, allocations: 439.3 kB / 0.6427 GB, free: 23.4 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006895/0.6602, allocations: 0.6724 MB / 0.6434 GB, free: 23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-06/0.6602, allocations: 2.938 kB / 0.6434 GB, free: 23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00119/0.6614, allocations: 0.8119 MB / 0.6442 GB, free: 22.69 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001194/0.6616, allocations: 250.3 kB / 0.6444 GB, free: 22.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.6616, allocations: 11.62 kB / 0.6444 GB, free: 22.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004078/0.662, allocations: 90.44 kB / 0.6445 GB, free: 22.35 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003411/0.6623, allocations: 109.8 kB / 0.6446 GB, free: 22.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003847/0.6627, allocations: 0.634 MB / 0.6452 GB, free: 21.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007608/0.6635, allocations: 105 kB / 0.6453 GB, free: 21.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.822e-05/0.6636, allocations: 28.48 kB / 0.6454 GB, free: 21.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.724e-06/0.6636, allocations: 5.312 kB / 0.6454 GB, free: 21.73 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001059/0.6646, allocations: 0.6762 MB / 0.646 GB, free: 21.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.6647, allocations: 5.938 kB / 0.646 GB, free: 21.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001608/0.6648, allocations: 67.09 kB / 0.6461 GB, free: 21.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003389/0.6652, allocations: 111.5 kB / 0.6462 GB, free: 21.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001411/0.6666, allocations: 1.726 MB / 0.6479 GB, free: 19.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006693/0.6673, allocations: 110.7 kB / 0.648 GB, free: 19.85 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.955e-05/0.6673, allocations: 25.41 kB / 0.648 GB, free: 19.84 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 (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.0006918/0.668, allocations: 487.9 kB / 0.6485 GB, free: 19.56 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/0.6682, allocations: 86.81 kB / 0.6486 GB, free: 19.52 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00107/0.6693, allocations: 0.6452 MB / 0.6492 GB, free: 19.27 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/0.6693, allocations: 7.906 kB / 0.6492 GB, free: 19.27 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.6693, allocations: 0 / 0.6492 GB, free: 19.27 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008033/0.6701, allocations: 0.8155 MB / 0.65 GB, free: 18.68 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.00257/0.6727, allocations: 1.684 MB / 0.6516 GB, free: 17.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.6727, allocations: 1.344 kB / 0.6516 GB, free: 17.85 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003213/0.673, allocations: 83.95 kB / 0.6517 GB, free: 17.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001124/0.6732, allocations: 41.05 kB / 0.6518 GB, free: 17.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.974e-05/0.6732, allocations: 13.62 kB / 0.6518 GB, free: 17.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000258/0.6735, allocations: 0.5641 MB / 0.6523 GB, free: 17.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.6735, allocations: 1.406 kB / 0.6523 GB, free: 17.28 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001399/0.6749, allocations: 0.9543 MB / 0.6533 GB, free: 16.82 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004528/0.6754, allocations: 266.7 kB / 0.6535 GB, free: 16.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/0.6755, allocations: 13.33 kB / 0.6535 GB, free: 16.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006794/0.6762, allocations: 76.25 kB / 0.6536 GB, free: 16.61 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.54e-05/0.6763, allocations: 34.77 kB / 0.6536 GB, free: 16.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.209e-05/0.6763, allocations: 25.2 kB / 0.6536 GB, free: 16.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001095/0.6774, allocations: 0.643 MB / 0.6543 GB, free: 16.35 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6774, allocations: 1.406 kB / 0.6543 GB, free: 16.35 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001968/0.6794, allocations: 0.5694 MB / 0.6548 GB, free: 16.24 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 (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.0007102/0.6801, allocations: 288 kB / 0.6551 GB, free: 16.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001768/0.6819, allocations: 0.9991 MB / 0.6561 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.094e-06/0.6819, allocations: 5.219 kB / 0.6561 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004265/0.6824, allocations: 238.5 kB / 0.6563 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003238/0.6856, allocations: 0.5677 MB / 0.6569 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00395/0.6896, allocations: 2.46 MB / 0.6593 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001131/0.6907, allocations: 1.227 MB / 0.6605 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00168/0.6924, allocations: 459.7 kB / 0.6609 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002602/0.6927, allocations: 82.17 kB / 0.661 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of SimCode: time 1.372e-06/0.6927, allocations: 0 / 0.661 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of Templates: time 0.04677/0.7395, allocations: 19.48 MB / 0.68 GB, free: 7.684 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1)