Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001564/0.001564, 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.002004/0.002004, allocations: 191.4 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.347/1.347, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002026/0.002026, allocations: 278.5 kB / 290.4 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9435/0.9435, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001725/0.001725, allocations: 98.75 kB / 0.5947 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1646, allocations: 86.99 MB / 0.6796 GB, free: 1.043 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.534/0.6986, allocations: 187.8 MB / 0.8631 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00986/0.7085, allocations: 5.651 MB / 0.8686 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001781/0.7104, allocations: 31.78 kB / 0.8686 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001585/0.712, allocations: 0.5081 MB / 0.8691 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004193/0.7162, allocations: 1.514 MB / 0.8706 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003147/0.7194, allocations: 1.099 MB / 0.8717 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003346/0.7227, allocations: 2.497 MB / 0.8741 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00128/0.724, allocations: 0.961 MB / 0.875 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00204/0.7261, allocations: 1.04 MB / 0.8761 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001838/0.7279, allocations: 0.8719 MB / 0.8769 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000174/0.7281, allocations: 100.7 kB / 0.877 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002879/0.731, allocations: 1.594 MB / 0.8786 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005807/0.7316, allocations: 0.4978 MB / 0.879 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0009878/0.7326, allocations: 0.6203 MB / 0.8796 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00361/0.7362, allocations: 2.183 MB / 0.8818 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.7362, allocations: 6.781 kB / 0.8818 GB, free: 5.57 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.284e-06/0.7362, allocations: 0 / 0.8818 GB, free: 5.57 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.543e-05/0.7363, allocations: 0 / 0.8818 GB, free: 5.57 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002831/0.7391, allocations: 1.482 MB / 0.8832 GB, free: 4.445 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.7392, allocations: 10.09 kB / 0.8832 GB, free: 4.445 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001994/0.7412, allocations: 330.8 kB / 0.8836 GB, free: 4.297 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001357/0.7426, allocations: 0.7707 MB / 0.8843 GB, free: 3.695 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003335/0.7429, allocations: 120 kB / 0.8844 GB, free: 3.648 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.743, allocations: 81.06 kB / 0.8845 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001846/0.7449, allocations: 1.078 MB / 0.8856 GB, free: 2.969 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.783e-05/0.7449, allocations: 3.938 kB / 0.8856 GB, free: 2.965 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.112e-05/0.745, allocations: 38.38 kB / 0.8856 GB, free: 2.938 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.632e-05/0.7451, allocations: 35.45 kB / 0.8856 GB, free: 2.934 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001529/0.7466, allocations: 0.8365 MB / 0.8864 GB, free: 2.527 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.005974/0.7526, allocations: 4.056 MB / 0.8904 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005945/0.7532, allocations: 367.9 kB / 0.8908 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003025/0.7535, allocations: 213.7 kB / 0.891 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001915/0.7537, allocations: 101 kB / 0.8911 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.7538, allocations: 45.38 kB / 0.8911 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=36): time 2.204e-06/0.7538, allocations: 3.938 kB / 0.8911 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of matching and sorting (n=38): time 0.003428/0.7572, allocations: 1.325 MB / 0.8924 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.7573, allocations: 63.41 kB / 0.8925 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001666/0.759, allocations: 0.9958 MB / 0.8934 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.951e-05/0.7591, allocations: 37.7 kB / 0.8935 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003874/0.7595, allocations: 495.4 kB / 0.8939 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/0.7596, allocations: 138 kB / 0.8941 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002118/0.7598, allocations: 122.1 kB / 0.8942 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.76, allocations: 330 kB / 0.8945 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004875/0.7604, allocations: 229.2 kB / 0.8947 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005793/0.761, allocations: 413.2 kB / 0.8951 GB, free: 10.61 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002405/0.7635, allocations: 1.184 MB / 0.8963 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.7635, allocations: 0 / 0.8963 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001415/0.7649, allocations: 0.7496 MB / 0.897 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.7649, allocations: 15.92 kB / 0.897 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.7649, allocations: 4 kB / 0.897 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.765, allocations: 8 kB / 0.897 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005765/0.7655, allocations: 140.1 kB / 0.8972 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.007e-05/0.7656, allocations: 15.92 kB / 0.8972 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/0.7667, allocations: 87.69 kB / 0.8973 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.648e-05/0.7667, allocations: 32 kB / 0.8973 GB, free: 8.281 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 system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (71): * Single equations (assignments): 71 * 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.0004713/0.7672, allocations: 311.7 kB / 0.8976 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001955/0.7674, allocations: 102.8 kB / 0.8977 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002043/0.7676, allocations: 101 kB / 0.8978 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.7676, allocations: 4 kB / 0.8978 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.7676, allocations: 0 / 0.8978 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006858/0.7683, allocations: 0.6752 MB / 0.8985 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002596/0.7709, allocations: 1.584 MB / 0.9 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.771, allocations: 4 kB / 0.9 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000389/0.7714, allocations: 87.84 kB / 0.9001 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/0.7714, allocations: 4.5 kB / 0.9001 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.421e-05/0.7714, allocations: 19.92 kB / 0.9001 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.716e-06/0.7714, allocations: 12 kB / 0.9001 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.712e-06/0.7714, allocations: 4.875 kB / 0.9001 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.7725, allocations: 0.8256 MB / 0.9009 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003944/0.7729, allocations: 235.9 kB / 0.9012 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001556/0.7731, allocations: 19.98 kB / 0.9012 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007366/0.7738, allocations: 58.03 kB / 0.9012 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.475e-05/0.7739, allocations: 39.84 kB / 0.9013 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.434e-05/0.7739, allocations: 23.98 kB / 0.9013 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009582/0.7749, allocations: 0.7073 MB / 0.902 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7749, allocations: 4 kB / 0.902 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008398/0.7757, allocations: 252 kB / 0.9022 GB, free: 2.926 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[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 (38): * Single equations (assignments): 38 * 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.0004908/0.7762, allocations: 209.2 kB / 0.9024 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009635/0.7772, allocations: 0.5231 MB / 0.9029 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.7772, allocations: 4 kB / 0.9029 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002584/0.7775, allocations: 185.3 kB / 0.9031 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002598/0.7801, allocations: 0.6217 MB / 0.9037 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003044/0.7832, allocations: 2.186 MB / 0.9059 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000735/0.7839, allocations: 1.103 MB / 0.9069 GB, free: 14 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009372/0.7849, allocations: 240.2 kB / 0.9072 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001885/0.7851, allocations: 67.44 kB / 0.9072 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of SimCode: time 7.71e-07/0.7851, allocations: 0 / 0.9072 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of Templates: time 0.03286/0.8179, allocations: 19.62 MB / 0.9264 GB, free: 10.41 MB / 0.6387 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)