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.001724/0.001724, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001988/0.001988, allocations: 194.2 kB / 16.25 MB, free: 6.621 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.436/1.436, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002602/0.002602, allocations: 275.1 kB / 290.3 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.076/1.076, allocations: 178.6 MB / 0.507 GB, free: 4.723 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002771/0.002771, allocations: 101.3 kB / 0.6059 GB, free: 24.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1584, allocations: 89.15 MB / 0.693 GB, free: 4.711 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5476/0.7061, allocations: 184.8 MB / 0.8735 GB, free: 316 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0176/0.7237, allocations: 12.96 MB / 0.8861 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001635/0.7254, allocations: 29.38 kB / 0.8862 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001429/0.7269, allocations: 365.1 kB / 0.8865 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003044/0.73, allocations: 1.08 MB / 0.8876 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001885/0.7319, allocations: 0.6448 MB / 0.8882 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002753/0.7346, allocations: 2.02 MB / 0.8902 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00124/0.7359, allocations: 0.8152 MB / 0.891 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005532/0.7414, allocations: 1.767 MB / 0.8927 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002012/0.7435, allocations: 0.7044 MB / 0.8934 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001376/0.7436, allocations: 80 kB / 0.8934 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002099/0.7457, allocations: 0.9158 MB / 0.8943 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004216/0.7461, allocations: 391 kB / 0.8947 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005896/0.7467, allocations: 0.4937 MB / 0.8952 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002081/0.7488, allocations: 1.531 MB / 0.8967 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.7488, allocations: 0 / 0.8967 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.313e-06/0.7488, allocations: 4 kB / 0.8967 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.419e-05/0.7489, allocations: 0 / 0.8967 GB, free: 11.34 MB / 0.6231 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.001914/0.7508, allocations: 1.231 MB / 0.8979 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.7508, allocations: 8.031 kB / 0.8979 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/0.7521, allocations: 214.6 kB / 0.8981 GB, free: 9.836 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/0.7531, allocations: 0.6441 MB / 0.8987 GB, free: 9.152 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.193e-05/0.7532, allocations: 58 kB / 0.8988 GB, free: 9.094 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.7533, allocations: 77.81 kB / 0.8989 GB, free: 9.02 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/0.7548, allocations: 0.9443 MB / 0.8998 GB, free: 7.988 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/0.7548, allocations: 4 kB / 0.8998 GB, free: 7.984 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.862e-05/0.7549, allocations: 28 kB / 0.8998 GB, free: 7.957 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.152e-05/0.7549, allocations: 33.25 kB / 0.8998 GB, free: 7.926 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.756, allocations: 0.6216 MB / 0.9005 GB, free: 7.305 MB / 0.6231 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.004673/0.7606, allocations: 4.574 MB / 0.9049 GB, free: 2.438 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008589/0.7615, allocations: 0.5576 MB / 0.9055 GB, free: 1.836 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003537/0.7619, allocations: 246.3 kB / 0.9057 GB, free: 1.586 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002029/0.7621, allocations: 105.1 kB / 0.9058 GB, free: 1.465 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.7621, allocations: 38.5 kB / 0.9058 GB, free: 1.418 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=43): time 1.853e-06/0.7621, allocations: 0 / 0.9058 GB, free: 1.418 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.002878/0.765, allocations: 1.591 MB / 0.9074 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.75e-05/0.7651, allocations: 110.8 kB / 0.9075 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008678/0.766, allocations: 0.7116 MB / 0.9082 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.774e-05/0.766, allocations: 37.7 kB / 0.9082 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003472/0.7664, allocations: 423.7 kB / 0.9086 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001465/0.7666, allocations: 149.8 kB / 0.9088 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/0.7667, allocations: 122.2 kB / 0.9089 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.7669, allocations: 330 kB / 0.9092 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002955/0.7672, allocations: 185.2 kB / 0.9094 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005101/0.7677, allocations: 417 kB / 0.9098 GB, free: 13.16 MB / 0.6387 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.002312/0.77, allocations: 1.174 MB / 0.9109 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.7701, allocations: 8 kB / 0.9109 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001028/0.7711, allocations: 0.6778 MB / 0.9116 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.7711, allocations: 7.938 kB / 0.9116 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.7711, allocations: 11.94 kB / 0.9116 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.7712, allocations: 8 kB / 0.9116 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004507/0.7716, allocations: 127.8 kB / 0.9117 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.03e-05/0.7716, allocations: 15.92 kB / 0.9118 GB, free: 11.03 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005923/0.7722, allocations: 52.12 kB / 0.9118 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.958e-05/0.7723, allocations: 28 kB / 0.9118 GB, free: 10.95 MB / 0.6387 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003785/0.7727, allocations: 272.9 kB / 0.9121 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/0.7729, allocations: 86.91 kB / 0.9122 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001727/0.773, allocations: 95.66 kB / 0.9123 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.773, allocations: 7.938 kB / 0.9123 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.7731, allocations: 4 kB / 0.9123 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008058/0.7739, allocations: 0.7038 MB / 0.913 GB, free: 9.688 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002467/0.7763, allocations: 1.639 MB / 0.9146 GB, free: 7.941 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.7764, allocations: 4 kB / 0.9146 GB, free: 7.938 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000443/0.7768, allocations: 95.89 kB / 0.9147 GB, free: 7.844 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-05/0.7768, allocations: 15.92 kB / 0.9147 GB, free: 7.828 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.721e-05/0.7769, allocations: 13.88 kB / 0.9147 GB, free: 7.816 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.685e-06/0.7769, allocations: 7.938 kB / 0.9147 GB, free: 7.809 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.7769, allocations: 4.094 kB / 0.9147 GB, free: 7.805 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.7781, allocations: 0.8803 MB / 0.9156 GB, free: 6.863 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002967/0.7784, allocations: 204.1 kB / 0.9158 GB, free: 6.645 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.7785, allocations: 27.88 kB / 0.9158 GB, free: 6.617 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00048/0.779, allocations: 29.28 kB / 0.9158 GB, free: 6.59 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.695e-05/0.7791, allocations: 39.89 kB / 0.9159 GB, free: 6.551 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.302e-05/0.7791, allocations: 20 kB / 0.9159 GB, free: 6.531 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006461/0.7798, allocations: 0.5107 MB / 0.9164 GB, free: 6.027 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7798, allocations: 3.938 kB / 0.9164 GB, free: 6.023 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007288/0.7805, allocations: 200 kB / 0.9166 GB, free: 5.828 MB / 0.6387 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005/0.781, allocations: 202.4 kB / 0.9168 GB, free: 5.641 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0009151/0.7819, allocations: 0.5084 MB / 0.9173 GB, free: 5.133 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.782, allocations: 8.188 kB / 0.9173 GB, free: 5.125 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002983/0.7823, allocations: 212.4 kB / 0.9175 GB, free: 4.918 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00198/0.7843, allocations: 478.7 kB / 0.9179 GB, free: 4.465 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002765/0.787, allocations: 1.968 MB / 0.9198 GB, free: 2.414 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007038/0.7877, allocations: 1.024 MB / 0.9208 GB, free: 1.359 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0006869/0.7884, allocations: 203 kB / 0.921 GB, free: 1.156 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001592/0.7886, allocations: 63.44 kB / 0.9211 GB, free: 1.098 MB / 0.6387 GB Notification: Performance of SimCode: time 5.82e-07/0.7886, allocations: 0 / 0.9211 GB, free: 1.098 MB / 0.6387 GB Notification: Performance of Templates: time 0.0279/0.8165, allocations: 14.99 MB / 0.9357 GB, free: 2.398 MB / 0.6544 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)