Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.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.MixingVolumeHeatPortAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir") translateModel(IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001024, allocations: 97.48 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.007938/0.007938, allocations: 170.8 kB / 16.27 MB, free: 6.32 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.473/1.473, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.085/1.085, allocations: 135.3 MB / 426.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005618/0.0005618, allocations: 8 kB / 0.5076 GB, free: 4.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2051, allocations: 82.31 MB / 0.588 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir): time 0.5816/0.7867, allocations: 178.5 MB / 0.7623 GB, free: 9.66 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0132/0.8, allocations: 6.676 MB / 0.7688 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001572/0.8016, allocations: 23.81 kB / 0.7688 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001337/0.803, allocations: 366.1 kB / 0.7691 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004386/0.8074, allocations: 1.323 MB / 0.7704 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002132/0.8095, allocations: 0.6877 MB / 0.7711 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00605/0.8156, allocations: 5.483 MB / 0.7765 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001862/0.8175, allocations: 1.266 MB / 0.7777 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0029/0.8204, allocations: 1.245 MB / 0.7789 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002986/0.8234, allocations: 1.189 MB / 0.7801 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001572/0.8236, allocations: 52 kB / 0.7801 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003223/0.8268, allocations: 1.633 MB / 0.7817 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006339/0.8274, allocations: 494.4 kB / 0.7822 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001103/0.8285, allocations: 0.7441 MB / 0.7829 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003596/0.8322, allocations: 2.714 MB / 0.7856 GB, free: 2.074 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.8322, allocations: 0 / 0.7856 GB, free: 2.074 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.415e-06/0.8322, allocations: 0 / 0.7856 GB, free: 2.074 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.847e-05/0.8322, allocations: 0 / 0.7856 GB, free: 2.074 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.002692/0.8349, allocations: 1.615 MB / 0.7871 GB, free: 420 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.835, allocations: 8.031 kB / 0.7872 GB, free: 412 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003124/0.8381, allocations: 0.4899 MB / 0.7876 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002028/0.8402, allocations: 1.209 MB / 0.7888 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.774e-05/0.8402, allocations: 78 kB / 0.7889 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001808/0.8404, allocations: 104 kB / 0.789 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002197/0.8426, allocations: 1.334 MB / 0.7903 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.958e-05/0.8427, allocations: 11.84 kB / 0.7903 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/0.8428, allocations: 43.98 kB / 0.7903 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-05/0.8429, allocations: 41.98 kB / 0.7904 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001943/0.8448, allocations: 1.276 MB / 0.7916 GB, free: 11.76 MB / 0.6075 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.007161/0.852, allocations: 4.92 MB / 0.7964 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/0.8535, allocations: 0.9971 MB / 0.7974 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007979/0.8543, allocations: 0.5791 MB / 0.798 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003398/0.8546, allocations: 194.8 kB / 0.7982 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.791e-05/0.8547, allocations: 51.22 kB / 0.7982 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=78): time 2.945e-06/0.8547, allocations: 0 / 0.7982 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of matching and sorting (n=81): time 0.006188/0.8609, allocations: 2.994 MB / 0.8011 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.966e-05/0.861, allocations: 68 kB / 0.8012 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001457/0.8624, allocations: 0.981 MB / 0.8022 GB, free: 460 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.761e-05/0.8625, allocations: 45.7 kB / 0.8022 GB, free: 408 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005241/0.863, allocations: 0.539 MB / 0.8027 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003144/0.8634, allocations: 287.8 kB / 0.803 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.8635, allocations: 69.69 kB / 0.8031 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.8637, allocations: 345.9 kB / 0.8034 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000657/0.8643, allocations: 445.6 kB / 0.8038 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008409/0.8652, allocations: 0.6044 MB / 0.8044 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001546/0.8667, allocations: 1.074 MB / 0.8055 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.8668, allocations: 0 / 0.8055 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002145/0.8689, allocations: 1.25 MB / 0.8067 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001645/0.8691, allocations: 174.8 kB / 0.8068 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.8691, allocations: 0 / 0.8068 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002907/0.8694, allocations: 80.73 kB / 0.8069 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/0.8705, allocations: 212 kB / 0.8071 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002744/0.8732, allocations: 2.987 MB / 0.81 GB, free: 8.016 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/0.8747, allocations: 147 kB / 0.8102 GB, free: 7.875 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.466e-05/0.8748, allocations: 31.94 kB / 0.8102 GB, free: 7.844 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.137e-06/0.8748, allocations: 4 kB / 0.8102 GB, free: 7.84 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001697/0.8765, allocations: 1.129 MB / 0.8113 GB, free: 6.711 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.8765, allocations: 8.031 kB / 0.8113 GB, free: 6.703 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001895/0.8767, allocations: 68.81 kB / 0.8114 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006421/0.8774, allocations: 175.8 kB / 0.8116 GB, free: 6.461 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001584/0.879, allocations: 1.811 MB / 0.8133 GB, free: 4.512 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/0.8804, allocations: 139.6 kB / 0.8135 GB, free: 4.375 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.966e-05/0.8805, allocations: 32 kB / 0.8135 GB, free: 4.344 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001034/0.8815, allocations: 0.5949 MB / 0.8141 GB, free: 3.738 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001811/0.8817, allocations: 114.6 kB / 0.8142 GB, free: 3.625 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001836/0.8835, allocations: 1.193 MB / 0.8154 GB, free: 2.422 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/0.8836, allocations: 8 kB / 0.8154 GB, free: 2.414 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.8836, allocations: 4 kB / 0.8154 GB, free: 2.41 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001503/0.8851, allocations: 1.245 MB / 0.8166 GB, free: 1.094 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004051/0.8891, allocations: 2.796 MB / 0.8193 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.8892, allocations: 12.25 kB / 0.8193 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/0.8902, allocations: 237 kB / 0.8195 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002/0.8904, allocations: 68.81 kB / 0.8196 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.864e-05/0.8905, allocations: 27.92 kB / 0.8196 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0021/0.8926, allocations: 2.995 MB / 0.8226 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.8926, allocations: 11.91 kB / 0.8226 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002494/0.8951, allocations: 1.94 MB / 0.8245 GB, free: 8.703 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005658/0.8957, allocations: 323.7 kB / 0.8248 GB, free: 8.367 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/0.8958, allocations: 27.94 kB / 0.8248 GB, free: 8.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009818/0.8968, allocations: 121.2 kB / 0.8249 GB, free: 8.223 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.8969, allocations: 60.45 kB / 0.825 GB, free: 8.16 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.614e-05/0.897, allocations: 31.98 kB / 0.825 GB, free: 8.129 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008767/0.8978, allocations: 0.6958 MB / 0.8257 GB, free: 7.422 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8979, allocations: 0 / 0.8257 GB, free: 7.422 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001764/0.8996, allocations: 0.6601 MB / 0.8263 GB, free: 6.762 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (vol[1].dynBal.U,vol[1].dynBal.mXi[1],vol[2].dynBal.U,vol[2].dynBal.mXi[1],vol[3].dynBal.U,vol[3].dynBal.m,vol[3].dynBal.mXi[1]) * 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 (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005169/0.9001, allocations: 212.7 kB / 0.8265 GB, free: 6.559 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003055/0.9032, allocations: 1.912 MB / 0.8284 GB, free: 4.629 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 9.828e-06/0.9032, allocations: 4 kB / 0.8284 GB, free: 4.625 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009029/0.9041, allocations: 0.6699 MB / 0.8291 GB, free: 3.941 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004012/0.9082, allocations: 0.7914 MB / 0.8298 GB, free: 3.164 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004923/0.9131, allocations: 3.668 MB / 0.8334 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001041/0.9142, allocations: 1.429 MB / 0.8348 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001991/0.9162, allocations: 0.6884 MB / 0.8355 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003299/0.9165, allocations: 87.42 kB / 0.8356 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of SimCode: time 7.11e-07/0.9165, allocations: 0 / 0.8356 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of Templates: time 0.04663/0.9632, allocations: 26.94 MB / 0.8619 GB, free: 2.562 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe 2>&1)