Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009155/0.0009155, allocations: 92.08 kB / 15.06 MB, free: 1.098 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.001062/0.001062, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.97/0.97, allocations: 135.3 MB / 426.4 MB, free: 14.17 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003466/0.0003466, allocations: 16.66 kB / 0.507 GB, free: 5.148 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.188, allocations: 82.32 MB / 0.5874 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.5363/0.7243, allocations: 173.4 MB / 0.7567 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01075/0.7351, allocations: 5.392 MB / 0.762 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001762/0.7369, allocations: 31.81 kB / 0.762 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001575/0.7385, allocations: 409.4 kB / 0.7624 GB, free: 9.789 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.004901/0.7435, allocations: 1.361 MB / 0.7637 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003306/0.7468, allocations: 0.8501 MB / 0.7645 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005499/0.7523, allocations: 3.45 MB / 0.7679 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001403/0.7537, allocations: 0.7171 MB / 0.7686 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00209/0.7558, allocations: 0.879 MB / 0.7695 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001665/0.7575, allocations: 0.8678 MB / 0.7703 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000137/0.7577, allocations: 44 kB / 0.7703 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002522/0.7602, allocations: 0.6898 MB / 0.771 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004718/0.7607, allocations: 394.8 kB / 0.7714 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004019/0.7611, allocations: 261.1 kB / 0.7716 GB, free: 272 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001874/0.763, allocations: 1.477 MB / 0.7731 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.763, allocations: 0 / 0.7731 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.335e-06/0.763, allocations: 0 / 0.7731 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.476e-05/0.763, allocations: 4 kB / 0.7731 GB, free: 14.78 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002547/0.7656, allocations: 1.309 MB / 0.7744 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.7656, allocations: 8.031 kB / 0.7744 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002007/0.7677, allocations: 322.2 kB / 0.7747 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/0.7691, allocations: 0.7856 MB / 0.7755 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.076e-05/0.7691, allocations: 62 kB / 0.7755 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.7693, allocations: 88 kB / 0.7756 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001706/0.771, allocations: 0.9053 MB / 0.7765 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.446e-05/0.771, allocations: 4 kB / 0.7765 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.382e-05/0.7711, allocations: 36 kB / 0.7765 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-05/0.7712, allocations: 33.94 kB / 0.7766 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001462/0.7726, allocations: 0.8354 MB / 0.7774 GB, free: 10.3 MB / 0.5919 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.005509/0.7781, allocations: 3.536 MB / 0.7808 GB, free: 6.547 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007726/0.7789, allocations: 0.5034 MB / 0.7813 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004501/0.7794, allocations: 294.5 kB / 0.7816 GB, free: 5.746 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002153/0.7796, allocations: 101.5 kB / 0.7817 GB, free: 5.629 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.912e-05/0.7797, allocations: 43 kB / 0.7817 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=47): time 2.856e-06/0.7797, allocations: 4 kB / 0.7817 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49): time 0.00439/0.7841, allocations: 1.938 MB / 0.7836 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.7841, allocations: 55.84 kB / 0.7837 GB, free: 3.473 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.7852, allocations: 0.798 MB / 0.7845 GB, free: 2.664 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.303e-05/0.7852, allocations: 41.7 kB / 0.7845 GB, free: 2.617 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003471/0.7856, allocations: 479.3 kB / 0.785 GB, free: 2.145 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001846/0.7858, allocations: 177.4 kB / 0.7851 GB, free: 1.969 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/0.7858, allocations: 16 kB / 0.7851 GB, free: 1.953 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.786, allocations: 326 kB / 0.7855 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004145/0.7864, allocations: 241.2 kB / 0.7857 GB, free: 1.391 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005443/0.7869, allocations: 367 kB / 0.786 GB, free: 0.9922 MB / 0.5919 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002637/0.7896, allocations: 1.003 MB / 0.787 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.7896, allocations: 3.953 kB / 0.787 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001495/0.7911, allocations: 0.7885 MB / 0.7878 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.7911, allocations: 4 kB / 0.7878 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.7911, allocations: 4.344 kB / 0.7878 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003124/0.7915, allocations: 93.66 kB / 0.7879 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006563/0.7921, allocations: 159.8 kB / 0.788 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003256/0.7954, allocations: 3.044 MB / 0.791 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009148/0.7963, allocations: 60.7 kB / 0.7911 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.144e-05/0.7964, allocations: 24 kB / 0.7911 GB, free: 11.52 MB / 0.6075 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. 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 (67): * Single equations (assignments): 65 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006427/0.797, allocations: 308 kB / 0.7914 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/0.7972, allocations: 94.95 kB / 0.7915 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002068/0.7974, allocations: 100.7 kB / 0.7916 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.7974, allocations: 4 kB / 0.7916 GB, free: 11 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.7974, allocations: 0 / 0.7916 GB, free: 11 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001108/0.7986, allocations: 0.8505 MB / 0.7924 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002886/0.8015, allocations: 1.803 MB / 0.7942 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.8015, allocations: 7.953 kB / 0.7942 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006046/0.8021, allocations: 148.2 kB / 0.7943 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002114/0.8023, allocations: 64.81 kB / 0.7944 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.848e-05/0.8024, allocations: 19.98 kB / 0.7944 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001556/0.8039, allocations: 1.646 MB / 0.796 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.8039, allocations: 7.938 kB / 0.796 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001592/0.8055, allocations: 1.111 MB / 0.7971 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004212/0.806, allocations: 236 kB / 0.7973 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.8061, allocations: 8 kB / 0.7973 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006823/0.8068, allocations: 65.03 kB / 0.7974 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.8069, allocations: 51.89 kB / 0.7974 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.147e-05/0.807, allocations: 27.98 kB / 0.7975 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007136/0.8077, allocations: 0.5536 MB / 0.798 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8077, allocations: 0 / 0.798 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001017/0.8087, allocations: 288 kB / 0.7983 GB, free: 3.742 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.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 (45): * Single equations (assignments): 44 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005071/0.8092, allocations: 193.8 kB / 0.7985 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001357/0.8106, allocations: 0.8021 MB / 0.7992 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.8106, allocations: 4 kB / 0.7993 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005848/0.8112, allocations: 420.5 kB / 0.7997 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002397/0.8136, allocations: 0.5803 MB / 0.8002 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002974/0.8166, allocations: 2.151 MB / 0.8023 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007261/0.8173, allocations: 1.087 MB / 0.8034 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008529/0.8182, allocations: 209.1 kB / 0.8036 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001853/0.8184, allocations: 71.36 kB / 0.8036 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of SimCode: time 1.854e-06/0.8184, allocations: 0 / 0.8036 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of Templates: time 0.03566/0.8541, allocations: 19 MB / 0.8222 GB, free: 11.39 MB / 0.6387 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)