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: translateModel(IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater") translateModel(IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001256/0.001256, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001227/0.001227, allocations: 187 kB / 17.34 MB, free: 5.719 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.371/1.371, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7817/0.7817, allocations: 132.2 MB / 423.4 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 62.59 kB / 0.582 GB, free: 23.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1694, allocations: 80.21 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater): time 0.02636/0.1958, allocations: 23.35 MB / 0.6831 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01078/0.2066, allocations: 6.833 MB / 0.6898 GB, free: 12 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001127/0.2078, allocations: 27.81 kB / 0.6898 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001176/0.209, allocations: 317.9 kB / 0.6901 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00286/0.2119, allocations: 0.9017 MB / 0.691 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002351/0.2143, allocations: 0.7631 MB / 0.6918 GB, free: 10 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.004827/0.2191, allocations: 3.465 MB / 0.6951 GB, free: 6.527 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001956/0.2211, allocations: 1.333 MB / 0.6964 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003216/0.2243, allocations: 1.231 MB / 0.6976 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001812/0.2261, allocations: 0.9334 MB / 0.6986 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003881/0.2265, allocations: 92 kB / 0.6986 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002177/0.2287, allocations: 0.776 MB / 0.6994 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000538/0.2293, allocations: 287 kB / 0.6997 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001303/0.2306, allocations: 0.6298 MB / 0.7003 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003233/0.2338, allocations: 1.916 MB / 0.7022 GB, free: 15.3 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.2339, allocations: 0 / 0.7022 GB, free: 15.3 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.013e-06/0.2339, allocations: 3.938 kB / 0.7022 GB, free: 15.3 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.227e-05/0.2339, allocations: 0 / 0.7022 GB, free: 15.3 MB / 0.545 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.00315/0.2371, allocations: 1.55 MB / 0.7037 GB, free: 13.7 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.2371, allocations: 12.03 kB / 0.7037 GB, free: 13.69 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006204/0.2378, allocations: 139.4 kB / 0.7038 GB, free: 13.55 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002247/0.24, allocations: 1.216 MB / 0.705 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.95e-05/0.2401, allocations: 58 kB / 0.7051 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/0.2402, allocations: 72 kB / 0.7051 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001742/0.242, allocations: 1.037 MB / 0.7061 GB, free: 11.08 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.692e-05/0.242, allocations: 4 kB / 0.7061 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.543e-05/0.2421, allocations: 36 kB / 0.7062 GB, free: 11.04 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.823e-05/0.2422, allocations: 23.94 kB / 0.7062 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001217/0.2434, allocations: 0.761 MB / 0.7069 GB, free: 10.25 MB / 0.545 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.005341/0.2487, allocations: 4.631 MB / 0.7115 GB, free: 5.27 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000546/0.2493, allocations: 388.1 kB / 0.7118 GB, free: 4.883 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003314/0.2496, allocations: 277.2 kB / 0.7121 GB, free: 4.609 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003823/0.25, allocations: 429.8 kB / 0.7125 GB, free: 4.098 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.106e-05/0.2501, allocations: 42.89 kB / 0.7126 GB, free: 4.047 MB / 0.545 GB Notification: Performance of pre-optimization done (n=40): time 2.524e-06/0.2501, allocations: 0 / 0.7126 GB, free: 4.047 MB / 0.545 GB Notification: Performance of matching and sorting (n=40): time 0.001863/0.2519, allocations: 0.8662 MB / 0.7134 GB, free: 3.152 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.252, allocations: 59.41 kB / 0.7135 GB, free: 3.082 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/0.2533, allocations: 0.9466 MB / 0.7144 GB, free: 2.129 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.108e-05/0.2534, allocations: 37.7 kB / 0.7144 GB, free: 2.086 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004105/0.2538, allocations: 0.4989 MB / 0.7149 GB, free: 1.582 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001722/0.254, allocations: 145.9 kB / 0.715 GB, free: 1.438 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001853/0.2542, allocations: 130 kB / 0.7152 GB, free: 1.301 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.2543, allocations: 333.9 kB / 0.7155 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003257/0.2546, allocations: 234.9 kB / 0.7157 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004786/0.2551, allocations: 435.1 kB / 0.7161 GB, free: 232 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008003/0.2559, allocations: 0.6669 MB / 0.7168 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.2559, allocations: 4 kB / 0.7168 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001448/0.2574, allocations: 0.8096 MB / 0.7176 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.2574, allocations: 8 kB / 0.7176 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.2574, allocations: 11.94 kB / 0.7176 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004209/0.2578, allocations: 84.78 kB / 0.7177 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003733/0.2582, allocations: 111.8 kB / 0.7178 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000506/0.2587, allocations: 0.6305 MB / 0.7184 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007093/0.2595, allocations: 79.39 kB / 0.7185 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-05/0.2595, allocations: 35.92 kB / 0.7185 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007111/0.2603, allocations: 0.5634 MB / 0.7191 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000472/0.2607, allocations: 438.3 kB / 0.7195 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007871/0.2615, allocations: 0.6647 MB / 0.7201 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.601e-06/0.2616, allocations: 3.984 kB / 0.7201 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.001275/0.2628, allocations: 0.7814 MB / 0.7209 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.2629, allocations: 11.94 kB / 0.7209 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.2629, allocations: 4 kB / 0.7209 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001619/0.263, allocations: 65.38 kB / 0.721 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003383/0.2634, allocations: 111.8 kB / 0.7211 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001749/0.2651, allocations: 1.888 MB / 0.7229 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000666/0.2658, allocations: 67.48 kB / 0.723 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.014e-05/0.2659, allocations: 32 kB / 0.723 GB, free: 8.723 MB / 0.5606 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.0002092/0.2661, allocations: 220.1 kB / 0.7232 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002168/0.2663, allocations: 94.81 kB / 0.7233 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001056/0.2674, allocations: 0.6376 MB / 0.7239 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.2674, allocations: 7.938 kB / 0.7239 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.2674, allocations: 0 / 0.7239 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008201/0.2682, allocations: 0.8165 MB / 0.7247 GB, free: 6.844 MB / 0.5606 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.002422/0.2707, allocations: 1.689 MB / 0.7264 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.2707, allocations: 8.031 kB / 0.7264 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000324/0.271, allocations: 83.83 kB / 0.7265 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001248/0.2712, allocations: 44.7 kB / 0.7265 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.161e-05/0.2712, allocations: 15.98 kB / 0.7265 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003745/0.2716, allocations: 0.5679 MB / 0.7271 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.2716, allocations: 64 / 0.7271 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001264/0.2729, allocations: 0.9576 MB / 0.728 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000395/0.2733, allocations: 248.2 kB / 0.7283 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/0.2734, allocations: 12 kB / 0.7283 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005403/0.274, allocations: 27.95 kB / 0.7283 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.933e-05/0.274, allocations: 31.95 kB / 0.7283 GB, free: 3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.594e-05/0.2741, allocations: 19.98 kB / 0.7283 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008817/0.275, allocations: 0.6707 MB / 0.729 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/0.275, allocations: 0 / 0.729 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001603/0.2766, allocations: 0.5611 MB / 0.7296 GB, free: 1.754 MB / 0.5606 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.0007366/0.2773, allocations: 287.4 kB / 0.7298 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001659/0.279, allocations: 1.013 MB / 0.7308 GB, free: 460 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/0.279, allocations: 0 / 0.7308 GB, free: 460 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003579/0.2794, allocations: 235.7 kB / 0.731 GB, free: 224 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002473/0.2819, allocations: 0.5531 MB / 0.7316 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003179/0.2851, allocations: 2.018 MB / 0.7335 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008432/0.2859, allocations: 1.22 MB / 0.7347 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002091/0.2862, allocations: 79.42 kB / 0.7348 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of SimCode: time 4.41e-07/0.2862, allocations: 0 / 0.7348 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.3753/0.6614, allocations: 23.21 MB / 0.7575 GB, free: 79.95 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.makefile (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 & ./IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1)