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.0009401/0.0009401, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005344/0.005344, allocations: 169.3 kB / 16.26 MB, free: 6.66 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.33/1.33, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001751/0.001751, allocations: 275 kB / 291.7 MB, free: 1.863 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9255/0.9255, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003935/0.0003935, allocations: 13.28 kB / 0.5986 GB, free: 27.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1717, allocations: 88.54 MB / 0.6851 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5143/0.6861, allocations: 182.6 MB / 0.8634 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0151/0.7012, allocations: 12.95 MB / 0.8761 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009813/0.7022, allocations: 28.5 kB / 0.8761 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001232/0.7035, allocations: 342.2 kB / 0.8764 GB, free: 8.797 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002924/0.7064, allocations: 1.091 MB / 0.8775 GB, free: 7.949 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001749/0.7081, allocations: 0.6384 MB / 0.8781 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003181/0.7113, allocations: 2.772 MB / 0.8808 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009355/0.7123, allocations: 0.7076 MB / 0.8815 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003716/0.716, allocations: 1.624 MB / 0.8831 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001477/0.7175, allocations: 0.6575 MB / 0.8837 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.022e-05/0.7176, allocations: 39.47 kB / 0.8838 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001753/0.7194, allocations: 0.9601 MB / 0.8847 GB, free: 3.492 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003653/0.7197, allocations: 342.9 kB / 0.885 GB, free: 3.156 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005171/0.7203, allocations: 467.3 kB / 0.8855 GB, free: 2.691 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001673/0.722, allocations: 1.479 MB / 0.8869 GB, free: 1.207 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.413e-05/0.722, allocations: 3.984 kB / 0.8869 GB, free: 1.203 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.563e-06/0.722, allocations: 4 kB / 0.8869 GB, free: 1.199 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.157e-05/0.722, allocations: 0 / 0.8869 GB, free: 1.199 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.001561/0.7236, allocations: 1.045 MB / 0.888 GB, free: 108 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.7236, allocations: 16.03 kB / 0.888 GB, free: 92 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001158/0.7248, allocations: 210.6 kB / 0.8882 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009446/0.7257, allocations: 0.648 MB / 0.8888 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.599e-05/0.7258, allocations: 61.98 kB / 0.8889 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.7259, allocations: 76 kB / 0.8889 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/0.7272, allocations: 0.9333 MB / 0.8898 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/0.7273, allocations: 7.938 kB / 0.8899 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.738e-05/0.7274, allocations: 39.94 kB / 0.8899 GB, free: 14 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.691e-05/0.7274, allocations: 25.31 kB / 0.8899 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009432/0.7284, allocations: 0.6177 MB / 0.8905 GB, free: 13.35 MB / 0.6075 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.004334/0.7327, allocations: 4.593 MB / 0.895 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007854/0.7335, allocations: 0.5452 MB / 0.8955 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000343/0.7338, allocations: 248.7 kB / 0.8958 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001767/0.734, allocations: 97.09 kB / 0.8959 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.7341, allocations: 46.5 kB / 0.8959 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 2.234e-06/0.7341, allocations: 0 / 0.8959 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.002684/0.7368, allocations: 1.589 MB / 0.8975 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.601e-05/0.7368, allocations: 106.8 kB / 0.8976 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008165/0.7377, allocations: 0.7196 MB / 0.8983 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.311e-05/0.7377, allocations: 37.7 kB / 0.8983 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002905/0.738, allocations: 415.7 kB / 0.8987 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/0.7382, allocations: 161.7 kB / 0.8989 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.228e-05/0.7383, allocations: 53.7 kB / 0.8989 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.7384, allocations: 326 kB / 0.8992 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002964/0.7387, allocations: 189.2 kB / 0.8994 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004373/0.7391, allocations: 421 kB / 0.8998 GB, free: 3.262 MB / 0.6075 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.002181/0.7413, allocations: 1.182 MB / 0.901 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.7413, allocations: 4 kB / 0.901 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009652/0.7423, allocations: 0.6599 MB / 0.9016 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.7423, allocations: 13.81 kB / 0.9016 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.7424, allocations: 8.781 kB / 0.9016 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.7424, allocations: 8 kB / 0.9016 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000451/0.7428, allocations: 131.8 kB / 0.9018 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.649e-05/0.7429, allocations: 15.92 kB / 0.9018 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006588/0.7435, allocations: 55.81 kB / 0.9018 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.063e-05/0.7436, allocations: 35.94 kB / 0.9019 GB, free: 1.043 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: 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.0003743/0.744, allocations: 266.2 kB / 0.9021 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000143/0.7441, allocations: 90.91 kB / 0.9022 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001768/0.7443, allocations: 91.66 kB / 0.9023 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.7443, allocations: 7.938 kB / 0.9023 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.772e-05/0.7443, allocations: 8.062 kB / 0.9023 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007495/0.7451, allocations: 0.695 MB / 0.903 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002405/0.7475, allocations: 1.643 MB / 0.9046 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-05/0.7475, allocations: 4 kB / 0.9046 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004392/0.748, allocations: 96.39 kB / 0.9047 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.258e-05/0.748, allocations: 11.94 kB / 0.9047 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.537e-05/0.7481, allocations: 23.98 kB / 0.9047 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.915e-06/0.7481, allocations: 7.938 kB / 0.9047 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/0.7481, allocations: 4 kB / 0.9047 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/0.7492, allocations: 0.8653 MB / 0.9056 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002719/0.7495, allocations: 216 kB / 0.9058 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.959e-05/0.7496, allocations: 12 kB / 0.9058 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004835/0.7501, allocations: 35.97 kB / 0.9058 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.193e-05/0.7501, allocations: 39.84 kB / 0.9059 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.249e-05/0.7502, allocations: 19.98 kB / 0.9059 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000609/0.7508, allocations: 0.5146 MB / 0.9064 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7508, allocations: 4 kB / 0.9064 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007328/0.7515, allocations: 200 kB / 0.9066 GB, free: 11.93 MB / 0.6231 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.0005122/0.7521, allocations: 200 kB / 0.9068 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008029/0.7529, allocations: 476.1 kB / 0.9072 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.7529, allocations: 0 / 0.9072 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002914/0.7532, allocations: 210.2 kB / 0.9074 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00251/0.7557, allocations: 460.5 kB / 0.9079 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002644/0.7584, allocations: 2.032 MB / 0.9098 GB, free: 8.523 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006628/0.759, allocations: 1.032 MB / 0.9109 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006664/0.7597, allocations: 195 kB / 0.911 GB, free: 7.266 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/0.7599, allocations: 63.44 kB / 0.9111 GB, free: 7.203 MB / 0.6231 GB Notification: Performance of SimCode: time 4.11e-07/0.7599, allocations: 3.938 kB / 0.9111 GB, free: 7.199 MB / 0.6231 GB Notification: Performance of Templates: time 0.02463/0.7845, allocations: 14.41 MB / 0.9252 GB, free: 9.066 MB / 0.6387 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)