Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009427/0.000943, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001019/0.001019, allocations: 168.7 kB / 15.95 MB, free: 204 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.333/1.333, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001773/0.001772, allocations: 274.1 kB / 291.4 MB, free: 1.965 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.939/0.939, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003903/0.0003904, allocations: 14.88 kB / 0.598 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1335, allocations: 88.54 MB / 0.6845 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.4278/0.5614, allocations: 170.3 MB / 0.8508 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01309/0.5745, allocations: 12.14 MB / 0.8627 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006891/0.5752, allocations: 30.69 kB / 0.8627 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009016/0.5762, allocations: 292.4 kB / 0.863 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001989/0.5782, allocations: 0.8869 MB / 0.8638 GB, free: 3 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001284/0.5795, allocations: 0.5233 MB / 0.8644 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002079/0.5815, allocations: 2.347 MB / 0.8666 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007764/0.5823, allocations: 0.607 MB / 0.8672 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00261/0.585, allocations: 1.35 MB / 0.8686 GB, free: 44 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008138/0.5858, allocations: 0.6236 MB / 0.8692 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.324e-05/0.5859, allocations: 39.44 kB / 0.8692 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.5869, allocations: 452.4 kB / 0.8696 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000316/0.5872, allocations: 338.1 kB / 0.87 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001913/0.5874, allocations: 202.4 kB / 0.8702 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009381/0.5884, allocations: 1.024 MB / 0.8712 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.5884, allocations: 0 / 0.8712 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5884, allocations: 0 / 0.8712 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.606e-05/0.5884, allocations: 0 / 0.8712 GB, free: 14.49 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001407/0.5898, allocations: 1.067 MB / 0.8722 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.5899, allocations: 10.91 kB / 0.8722 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/0.591, allocations: 214.1 kB / 0.8724 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008728/0.5919, allocations: 0.6165 MB / 0.873 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.931e-05/0.5919, allocations: 58.84 kB / 0.8731 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.5921, allocations: 83.64 kB / 0.8731 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/0.5933, allocations: 0.9308 MB / 0.8741 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.5933, allocations: 6.781 kB / 0.8741 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.494e-05/0.5934, allocations: 32.03 kB / 0.8741 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.554e-05/0.5934, allocations: 28.84 kB / 0.8741 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009154/0.5944, allocations: 0.6193 MB / 0.8747 GB, free: 11.98 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.003784/0.5982, allocations: 4.585 MB / 0.8792 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007181/0.5989, allocations: 0.5465 MB / 0.8797 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003116/0.5992, allocations: 249.4 kB / 0.88 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001673/0.5994, allocations: 98.03 kB / 0.8801 GB, free: 7.16 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.5994, allocations: 49 kB / 0.8801 GB, free: 7.105 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 2.004e-06/0.5994, allocations: 0 / 0.8801 GB, free: 7.105 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45): time 0.002526/0.602, allocations: 1.584 MB / 0.8817 GB, free: 5.836 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/0.602, allocations: 110.8 kB / 0.8818 GB, free: 5.703 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007861/0.6028, allocations: 0.7115 MB / 0.8825 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.364e-05/0.6029, allocations: 37.7 kB / 0.8825 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002784/0.6032, allocations: 415.7 kB / 0.8829 GB, free: 4.523 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/0.6033, allocations: 169.7 kB / 0.8831 GB, free: 4.355 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.538e-05/0.6033, allocations: 8 kB / 0.8831 GB, free: 4.348 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.6034, allocations: 334 kB / 0.8834 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002865/0.6037, allocations: 181.2 kB / 0.8836 GB, free: 3.84 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004375/0.6042, allocations: 413 kB / 0.8839 GB, free: 3.34 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001537/0.6057, allocations: 0.6751 MB / 0.8846 GB, free: 2.648 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.6057, allocations: 0 / 0.8846 GB, free: 2.648 MB / 0.5919 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009534/0.6067, allocations: 0.6642 MB / 0.8853 GB, free: 1.977 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.6067, allocations: 8 kB / 0.8853 GB, free: 1.969 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.6067, allocations: 8.094 kB / 0.8853 GB, free: 1.961 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.6068, allocations: 15.98 kB / 0.8853 GB, free: 1.945 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00044/0.6072, allocations: 123.8 kB / 0.8854 GB, free: 1.824 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.52e-05/0.6072, allocations: 11.94 kB / 0.8854 GB, free: 1.812 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005449/0.6078, allocations: 63.73 kB / 0.8855 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.183e-05/0.6079, allocations: 27.95 kB / 0.8855 GB, free: 1.723 MB / 0.5919 GB 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.000325/0.6082, allocations: 273.9 kB / 0.8858 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.6083, allocations: 79.06 kB / 0.8858 GB, free: 1.367 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001777/0.6085, allocations: 91.66 kB / 0.8859 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.6085, allocations: 4 kB / 0.8859 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.6085, allocations: 0 / 0.8859 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006727/0.6092, allocations: 0.7038 MB / 0.8866 GB, free: 492 kB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002209/0.6114, allocations: 1.64 MB / 0.8882 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.6115, allocations: 4 kB / 0.8882 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000437/0.6119, allocations: 99.92 kB / 0.8883 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.706e-06/0.6119, allocations: 8 kB / 0.8883 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.194e-05/0.612, allocations: 12 kB / 0.8883 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.536e-06/0.612, allocations: 12.42 kB / 0.8884 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.612, allocations: 4 kB / 0.8884 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.613, allocations: 0.8728 MB / 0.8892 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002515/0.6133, allocations: 204.2 kB / 0.8894 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.6134, allocations: 16.88 kB / 0.8894 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004774/0.6139, allocations: 47.81 kB / 0.8895 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.9e-05/0.6139, allocations: 39.86 kB / 0.8895 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.523e-05/0.614, allocations: 23.98 kB / 0.8895 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005707/0.6146, allocations: 0.499 MB / 0.89 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6146, allocations: 0 / 0.89 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006703/0.6152, allocations: 200 kB / 0.8902 GB, free: 12.63 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,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.0003954/0.6156, allocations: 214.7 kB / 0.8904 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007151/0.6164, allocations: 463.4 kB / 0.8908 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6164, allocations: 1.562 kB / 0.8909 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002823/0.6167, allocations: 217.3 kB / 0.8911 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001934/0.6186, allocations: 454.5 kB / 0.8915 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002425/0.621, allocations: 2.006 MB / 0.8935 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005389/0.6216, allocations: 1.028 MB / 0.8945 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000641/0.6222, allocations: 207 kB / 0.8947 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001523/0.6224, allocations: 67.42 kB / 0.8947 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.6224, allocations: 0 / 0.8947 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of Templates: time 0.02214/0.6446, allocations: 13.94 MB / 0.9083 GB, free: 10.26 MB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)