Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002529/0.002534, allocations: 357.2 kB / 15.94 MB, free: 6.207 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.447/1.447, allocations: 165.8 MB / 182.5 MB, free: 5.414 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.958/3.958, allocations: 410.8 MB / 0.5995 GB, free: 15.13 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001758/0.001758, allocations: 202.7 kB / 0.6662 GB, free: 6.926 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000479/0.0004793, allocations: 12 kB / 0.7423 GB, free: 8.961 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3319, allocations: 67.44 MB / 0.8081 GB, free: 28.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5758/0.9077, allocations: 168.3 MB / 0.9725 GB, free: 1.148 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.01599/0.9237, allocations: 11.82 MB / 0.9841 GB, free: 300 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001342/0.9251, allocations: 27.75 kB / 0.9841 GB, free: 288 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001423/0.9266, allocations: 387.6 kB / 0.9845 GB, free: 172 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004274/0.9309, allocations: 1.159 MB / 0.9856 GB, free: 15.93 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003198/0.9341, allocations: 0.8135 MB / 0.9864 GB, free: 15.73 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.003529/0.9376, allocations: 2.334 MB / 0.9887 GB, free: 14.95 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001128/0.9388, allocations: 0.6062 MB / 0.9893 GB, free: 14.7 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003539/0.9424, allocations: 1.206 MB / 0.9904 GB, free: 14.23 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001309/0.9437, allocations: 0.6212 MB / 0.991 GB, free: 14 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001446/0.9439, allocations: 34.62 kB / 0.9911 GB, free: 14 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001357/0.9453, allocations: 372.3 kB / 0.9914 GB, free: 13.91 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000433/0.9457, allocations: 342.7 kB / 0.9918 GB, free: 13.76 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003065/0.946, allocations: 197.7 kB / 0.992 GB, free: 13.7 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001461/0.9475, allocations: 0.9972 MB / 0.9929 GB, free: 13.19 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.303e-06/0.9475, allocations: 0 / 0.9929 GB, free: 13.19 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.111e-06/0.9475, allocations: 0 / 0.9929 GB, free: 13.19 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.439e-05/0.9476, allocations: 4 kB / 0.9929 GB, free: 13.19 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001957/0.9495, allocations: 1.037 MB / 0.9939 GB, free: 12.43 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.9496, allocations: 10.84 kB / 0.994 GB, free: 12.43 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001583/0.9512, allocations: 216.3 kB / 0.9942 GB, free: 12.34 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001391/0.9526, allocations: 0.6134 MB / 0.9948 GB, free: 11.95 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.612e-05/0.9527, allocations: 61.42 kB / 0.9948 GB, free: 11.95 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.9528, allocations: 76.59 kB / 0.9949 GB, free: 11.95 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001703/0.9546, allocations: 0.9233 MB / 0.9958 GB, free: 11.53 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.114e-05/0.9546, allocations: 2.906 kB / 0.9958 GB, free: 11.53 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-05/0.9547, allocations: 30.56 kB / 0.9958 GB, free: 11.53 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.127e-05/0.9548, allocations: 37.86 kB / 0.9959 GB, free: 11.52 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/0.9561, allocations: 0.6143 MB / 0.9965 GB, free: 11.39 MB / 490.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.006414/0.9625, allocations: 4.589 MB / 1.001 GB, free: 7.719 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009726/0.9635, allocations: 0.5382 MB / 1.001 GB, free: 7.492 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004379/0.964, allocations: 246.7 kB / 1.002 GB, free: 7.438 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002317/0.9642, allocations: 105.1 kB / 1.002 GB, free: 7.332 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/0.9643, allocations: 39.31 kB / 1.002 GB, free: 7.293 MB / 490.7 MB Notification: Performance of pre-optimization done (n=43): time 3.758e-06/0.9643, allocations: 4 kB / 1.002 GB, free: 7.289 MB / 490.7 MB Notification: Performance of matching and sorting (n=45): time 0.003804/0.9681, allocations: 1.58 MB / 1.003 GB, free: 6.574 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.412e-05/0.9682, allocations: 108.1 kB / 1.003 GB, free: 6.449 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/0.9694, allocations: 0.7014 MB / 1.004 GB, free: 6.211 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.899e-05/0.9695, allocations: 41.09 kB / 1.004 GB, free: 6.176 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003884/0.9699, allocations: 414.9 kB / 1.005 GB, free: 5.953 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000216/0.9701, allocations: 163.3 kB / 1.005 GB, free: 5.84 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.9702, allocations: 11.81 kB / 1.005 GB, free: 5.84 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002384/0.9704, allocations: 383.2 kB / 1.005 GB, free: 5.504 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003973/0.9708, allocations: 184.4 kB / 1.005 GB, free: 5.477 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005982/0.9714, allocations: 414.7 kB / 1.006 GB, free: 5.176 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002035/0.9735, allocations: 0.6635 MB / 1.006 GB, free: 4.957 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.526e-06/0.9735, allocations: 2.812 kB / 1.006 GB, free: 4.957 MB / 490.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001406/0.9749, allocations: 0.6603 MB / 1.007 GB, free: 4.777 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.975, allocations: 12.28 kB / 1.007 GB, free: 4.773 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.975, allocations: 5.75 kB / 1.007 GB, free: 4.773 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.652e-05/0.975, allocations: 10.75 kB / 1.007 GB, free: 4.773 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006176/0.9757, allocations: 130.1 kB / 1.007 GB, free: 4.746 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.109e-05/0.9757, allocations: 15.88 kB / 1.007 GB, free: 4.738 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009017/0.9766, allocations: 57.28 kB / 1.007 GB, free: 4.719 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.78e-05/0.9767, allocations: 24.5 kB / 1.007 GB, free: 4.719 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: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005497/0.9773, allocations: 280.7 kB / 1.008 GB, free: 4.566 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002284/0.9775, allocations: 77.41 kB / 1.008 GB, free: 4.527 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001849/0.9777, allocations: 93.11 kB / 1.008 GB, free: 4.496 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.612e-06/0.9777, allocations: 5.125 kB / 1.008 GB, free: 4.496 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.114e-06/0.9777, allocations: 0 / 1.008 GB, free: 4.496 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001007/0.9787, allocations: 0.7051 MB / 1.008 GB, free: 4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00337/0.9821, allocations: 1.637 MB / 1.01 GB, free: 3.121 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.916e-06/0.9822, allocations: 3.438 kB / 1.01 GB, free: 3.121 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006402/0.9828, allocations: 106.5 kB / 1.01 GB, free: 3.098 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.31e-05/0.9829, allocations: 5.188 kB / 1.01 GB, free: 3.098 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.508e-05/0.9829, allocations: 22.98 kB / 1.01 GB, free: 3.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.973e-06/0.983, allocations: 5.125 kB / 1.01 GB, free: 3.09 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.821e-06/0.983, allocations: 9.688 kB / 1.01 GB, free: 3.086 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001541/0.9845, allocations: 0.8865 MB / 1.011 GB, free: 2.688 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004983/0.9851, allocations: 211 kB / 1.011 GB, free: 2.531 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/0.9852, allocations: 15.25 kB / 1.011 GB, free: 2.531 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007007/0.9859, allocations: 44.19 kB / 1.011 GB, free: 2.516 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.406e-05/0.986, allocations: 39.45 kB / 1.011 GB, free: 2.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.853e-05/0.9861, allocations: 24.2 kB / 1.011 GB, free: 2.492 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000899/0.987, allocations: 0.4954 MB / 1.012 GB, free: 2.328 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.29e-07/0.987, allocations: 0 / 1.012 GB, free: 2.328 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001086/0.9881, allocations: 200.5 kB / 1.012 GB, free: 2.328 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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): 45 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005488/0.9887, allocations: 194.3 kB / 1.012 GB, free: 2.203 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001163/0.9899, allocations: 469.3 kB / 1.013 GB, free: 2.117 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.984e-06/0.9899, allocations: 0 / 1.013 GB, free: 2.117 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003905/0.9903, allocations: 204 kB / 1.013 GB, free: 2.082 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002949/0.9933, allocations: 463.6 kB / 1.013 GB, free: 1.934 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003757/0.9971, allocations: 1.993 MB / 1.015 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008925/0.998, allocations: 1.039 MB / 1.016 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001094/0.9991, allocations: 203.3 kB / 1.016 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002463/0.9994, allocations: 62.38 kB / 1.016 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of SimCode: time 1.851e-06/0.9994, allocations: 0 / 1.016 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of Templates: time 0.03641/1.036, allocations: 13.94 MB / 1.03 GB, free: 1.969 MB / 0.4948 GB