Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002459/0.002458, allocations: 356.3 kB / 15.94 MB, free: 6.211 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.235/1.235, allocations: 165.8 MB / 182.5 MB, free: 5.926 MB / 90.73 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.127/4.127, allocations: 410.7 MB / 0.5995 GB, free: 37.08 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001815/0.001814, allocations: 179.9 kB / 0.6662 GB, free: 1.805 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004524/0.0004528, allocations: 17.62 kB / 0.7423 GB, free: 73.88 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09834/0.09882, allocations: 67.45 MB / 0.8081 GB, free: 17.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.5913/0.6902, allocations: 171.3 MB / 0.9754 GB, free: 9.926 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.01127/0.7015, allocations: 5.858 MB / 0.9811 GB, free: 7.582 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001699/0.7033, allocations: 32.38 kB / 0.9811 GB, free: 7.566 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002108/0.7054, allocations: 0.5161 MB / 0.9816 GB, free: 7.195 MB / 474.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.00668/0.7121, allocations: 1.793 MB / 0.9834 GB, free: 6.023 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004698/0.7168, allocations: 1.174 MB / 0.9845 GB, free: 5.504 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.004935/0.7218, allocations: 3.426 MB / 0.9879 GB, free: 4.262 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001449/0.7233, allocations: 0.7056 MB / 0.9886 GB, free: 3.969 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002032/0.7253, allocations: 0.8452 MB / 0.9894 GB, free: 3.613 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001873/0.7272, allocations: 0.8658 MB / 0.9902 GB, free: 3.227 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002487/0.7275, allocations: 44.56 kB / 0.9903 GB, free: 3.223 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002266/0.7298, allocations: 0.5403 MB / 0.9908 GB, free: 3.047 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005589/0.7304, allocations: 383.3 kB / 0.9912 GB, free: 2.875 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004738/0.7309, allocations: 257.7 kB / 0.9914 GB, free: 2.809 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002415/0.7333, allocations: 1.4 MB / 0.9928 GB, free: 2.027 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.7334, allocations: 0 / 0.9928 GB, free: 2.027 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.514e-06/0.7334, allocations: 0 / 0.9928 GB, free: 2.027 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.457e-05/0.7334, allocations: 4 kB / 0.9928 GB, free: 2.023 MB / 474.7 MB 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.002819/0.7363, allocations: 1.274 MB / 0.994 GB, free: 1.129 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.7363, allocations: 9.188 kB / 0.994 GB, free: 1.129 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002752/0.7391, allocations: 314.3 kB / 0.9943 GB, free: 1.008 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001903/0.741, allocations: 0.7738 MB / 0.9951 GB, free: 0.5508 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.24e-05/0.7411, allocations: 69.5 kB / 0.9952 GB, free: 0.543 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/0.7413, allocations: 86.58 kB / 0.9952 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002227/0.7435, allocations: 0.908 MB / 0.9961 GB, free: 324 kB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.363e-05/0.7436, allocations: 0 / 0.9961 GB, free: 324 kB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/0.7438, allocations: 35.88 kB / 0.9962 GB, free: 324 kB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.8e-05/0.7438, allocations: 39.55 kB / 0.9962 GB, free: 316 kB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002016/0.7459, allocations: 0.8268 MB / 0.997 GB, free: 164 kB / 474.7 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.007522/0.7534, allocations: 3.534 MB / 1 GB, free: 14.12 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009959/0.7544, allocations: 0.5061 MB / 1.001 GB, free: 14.02 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005803/0.755, allocations: 297.3 kB / 1.001 GB, free: 13.96 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002242/0.7553, allocations: 104.5 kB / 1.001 GB, free: 13.86 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.603e-05/0.7554, allocations: 42.38 kB / 1.001 GB, free: 13.82 MB / 490.7 MB Notification: Performance of pre-optimization done (n=47): time 4.19e-06/0.7554, allocations: 4 kB / 1.001 GB, free: 13.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=49): time 0.005342/0.7607, allocations: 1.943 MB / 1.003 GB, free: 12.96 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.7608, allocations: 57.78 kB / 1.003 GB, free: 12.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/0.7622, allocations: 0.7901 MB / 1.004 GB, free: 12.34 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001195/0.7623, allocations: 42.2 kB / 1.004 GB, free: 12.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004246/0.7627, allocations: 464.4 kB / 1.005 GB, free: 12 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002466/0.763, allocations: 171.2 kB / 1.005 GB, free: 11.85 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-05/0.7631, allocations: 15.31 kB / 1.005 GB, free: 11.84 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.7633, allocations: 325.1 kB / 1.005 GB, free: 11.53 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006149/0.7639, allocations: 243.9 kB / 1.005 GB, free: 11.37 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007096/0.7646, allocations: 366.2 kB / 1.006 GB, free: 11.06 MB / 490.7 MB 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.00383/0.7685, allocations: 1.006 MB / 1.007 GB, free: 10.26 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-06/0.7685, allocations: 0 / 1.007 GB, free: 10.26 MB / 490.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001971/0.7705, allocations: 0.79 MB / 1.007 GB, free: 9.668 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.7705, allocations: 4.344 kB / 1.007 GB, free: 9.664 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.7706, allocations: 8 kB / 1.007 GB, free: 9.656 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000402/0.771, allocations: 97.91 kB / 1.008 GB, free: 9.574 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008748/0.7719, allocations: 165 kB / 1.008 GB, free: 9.418 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003932/0.7758, allocations: 3.051 MB / 1.011 GB, free: 6.355 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.7771, allocations: 60.92 kB / 1.011 GB, free: 6.305 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.44e-05/0.7772, allocations: 25.44 kB / 1.011 GB, free: 6.285 MB / 490.7 MB 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.0006504/0.7778, allocations: 301.6 kB / 1.011 GB, free: 6.059 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002243/0.7781, allocations: 94.91 kB / 1.011 GB, free: 5.965 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002243/0.7783, allocations: 105.1 kB / 1.011 GB, free: 5.906 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.7783, allocations: 4 kB / 1.011 GB, free: 5.902 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.008e-06/0.7784, allocations: 3.938 kB / 1.011 GB, free: 5.898 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001491/0.7799, allocations: 0.8455 MB / 1.012 GB, free: 5.117 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004229/0.7841, allocations: 1.807 MB / 1.014 GB, free: 3.332 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.224e-05/0.7842, allocations: 7.938 kB / 1.014 GB, free: 3.324 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008284/0.785, allocations: 140.2 kB / 1.014 GB, free: 3.188 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003022/0.7853, allocations: 64.81 kB / 1.014 GB, free: 3.121 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.268e-05/0.7854, allocations: 16 kB / 1.014 GB, free: 3.105 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002253/0.7877, allocations: 1.648 MB / 1.016 GB, free: 1.328 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.283e-06/0.7877, allocations: 7.953 kB / 1.016 GB, free: 1.32 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002401/0.7901, allocations: 1.104 MB / 1.017 GB, free: 160 kB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006984/0.7909, allocations: 236.1 kB / 1.017 GB, free: 15.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001571/0.791, allocations: 8 kB / 1.017 GB, free: 15.89 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/0.792, allocations: 67.02 kB / 1.017 GB, free: 15.83 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/0.7922, allocations: 47.84 kB / 1.017 GB, free: 15.79 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.819e-05/0.7923, allocations: 31.97 kB / 1.017 GB, free: 15.75 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.001026/0.7934, allocations: 0.5459 MB / 1.018 GB, free: 15.21 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.001e-06/0.7934, allocations: 0 / 1.018 GB, free: 15.21 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.001374/0.7948, allocations: 284 kB / 1.018 GB, free: 14.93 MB / 0.4949 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.0005477/0.7953, allocations: 185 kB / 1.018 GB, free: 14.76 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.001899/0.7973, allocations: 0.8119 MB / 1.019 GB, free: 13.93 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 6.678e-06/0.7973, allocations: 0 / 1.019 GB, free: 13.93 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.0008694/0.7982, allocations: 415.9 kB / 1.019 GB, free: 13.51 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003694/0.8019, allocations: 0.5875 MB / 1.02 GB, free: 12.93 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004104/0.806, allocations: 2.133 MB / 1.022 GB, free: 10.73 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001039/0.8071, allocations: 1.107 MB / 1.023 GB, free: 9.598 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.001383/0.8085, allocations: 215.5 kB / 1.023 GB, free: 9.383 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002945/0.8088, allocations: 71.36 kB / 1.023 GB, free: 9.312 MB / 0.4949 GB Notification: Performance of SimCode: time 1.922e-06/0.8088, allocations: 0 / 1.023 GB, free: 9.312 MB / 0.4949 GB Notification: Performance of Templates: time 0.04563/0.8545, allocations: 18.96 MB / 1.042 GB, free: 6.559 MB / 0.5105 GB