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.001159/0.00116, allocations: 104.9 kB / 16.27 MB, free: 6.402 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.001092/0.001092, allocations: 191.5 kB / 17.2 MB, free: 5.969 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.304/1.304, allocations: 222.9 MB / 240.9 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002122/0.002122, allocations: 299 kB / 291.3 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9264/0.9264, allocations: 169.3 MB / 0.4988 GB, free: 4.539 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 94.39 kB / 0.5959 GB, free: 15.2 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1617, allocations: 86.98 MB / 0.6808 GB, free: 8.223 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.49/0.6518, allocations: 190.3 MB / 0.8667 GB, free: 0.6602 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009684/0.6615, allocations: 5.687 MB / 0.8722 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001654/0.6632, allocations: 39.75 kB / 0.8723 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00186/0.6652, allocations: 0.5669 MB / 0.8728 GB, free: 10.35 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004575/0.6698, allocations: 1.606 MB / 0.8744 GB, free: 8.738 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003235/0.673, allocations: 1.201 MB / 0.8756 GB, free: 7.551 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003198/0.6762, allocations: 2.504 MB / 0.878 GB, free: 5.039 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00143/0.6777, allocations: 0.9916 MB / 0.879 GB, free: 4.031 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002086/0.6798, allocations: 1.027 MB / 0.88 GB, free: 3 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001781/0.6816, allocations: 0.8212 MB / 0.8808 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002716/0.6819, allocations: 104 kB / 0.8809 GB, free: 2.082 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002929/0.6848, allocations: 1.52 MB / 0.8824 GB, free: 0.5586 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005693/0.6854, allocations: 498.7 kB / 0.8828 GB, free: 72 kB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009368/0.6863, allocations: 0.6184 MB / 0.8835 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003139/0.6895, allocations: 2.092 MB / 0.8855 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.6895, allocations: 0 / 0.8855 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6895, allocations: 0 / 0.8855 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.348e-05/0.6895, allocations: 0 / 0.8855 GB, free: 13.35 MB / 0.6544 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.002698/0.6922, allocations: 1.485 MB / 0.8869 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.6923, allocations: 8.031 kB / 0.887 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001999/0.6943, allocations: 330.3 kB / 0.8873 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/0.6955, allocations: 0.7726 MB / 0.888 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003594/0.6959, allocations: 117.9 kB / 0.8881 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001245/0.6961, allocations: 84 kB / 0.8882 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001793/0.6979, allocations: 1.083 MB / 0.8893 GB, free: 9.352 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/0.6979, allocations: 8 kB / 0.8893 GB, free: 9.344 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.206e-05/0.698, allocations: 39.98 kB / 0.8893 GB, free: 9.305 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.296e-05/0.698, allocations: 37.98 kB / 0.8894 GB, free: 9.27 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001578/0.6996, allocations: 0.8391 MB / 0.8902 GB, free: 8.426 MB / 0.6544 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.005529/0.7052, allocations: 4.301 MB / 0.8944 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000581/0.7058, allocations: 372.1 kB / 0.8947 GB, free: 3.484 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002933/0.7061, allocations: 216.8 kB / 0.8949 GB, free: 3.27 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001859/0.7063, allocations: 97.69 kB / 0.895 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.7063, allocations: 39.69 kB / 0.8951 GB, free: 3.109 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=36): time 1.973e-06/0.7063, allocations: 4 kB / 0.8951 GB, free: 3.105 MB / 0.6544 GB Notification: Performance of matching and sorting (n=38): time 0.002428/0.7087, allocations: 1.332 MB / 0.8964 GB, free: 1.719 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/0.7088, allocations: 55.41 kB / 0.8964 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/0.7101, allocations: 1.012 MB / 0.8974 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.767e-05/0.7102, allocations: 33.7 kB / 0.8974 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003544/0.7106, allocations: 0.4914 MB / 0.8979 GB, free: 84 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.7107, allocations: 138.3 kB / 0.8981 GB, free: 15.94 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001864/0.7109, allocations: 126.2 kB / 0.8982 GB, free: 15.81 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.711, allocations: 330 kB / 0.8985 GB, free: 15.48 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004953/0.7115, allocations: 241.1 kB / 0.8987 GB, free: 15.25 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005991/0.7121, allocations: 427.8 kB / 0.8991 GB, free: 14.75 MB / 0.67 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.002458/0.7146, allocations: 1.216 MB / 0.9003 GB, free: 13.45 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.7146, allocations: 4 kB / 0.9003 GB, free: 13.44 MB / 0.67 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001429/0.7161, allocations: 0.7858 MB / 0.9011 GB, free: 12.65 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.7161, allocations: 8 kB / 0.9011 GB, free: 12.64 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.7161, allocations: 4 kB / 0.9011 GB, free: 12.64 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.524e-05/0.7161, allocations: 12.28 kB / 0.9011 GB, free: 12.62 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005768/0.7167, allocations: 155.7 kB / 0.9013 GB, free: 12.47 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.565e-05/0.7167, allocations: 11.98 kB / 0.9013 GB, free: 12.46 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008954/0.7176, allocations: 63.89 kB / 0.9013 GB, free: 12.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.323e-05/0.7177, allocations: 24 kB / 0.9014 GB, free: 12.38 MB / 0.67 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: 25 * 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 (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.0004225/0.7181, allocations: 314.4 kB / 0.9017 GB, free: 12.06 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001702/0.7183, allocations: 98.88 kB / 0.9018 GB, free: 11.96 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001908/0.7185, allocations: 109 kB / 0.9019 GB, free: 11.84 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.7185, allocations: 4 kB / 0.9019 GB, free: 11.84 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.7185, allocations: 4 kB / 0.9019 GB, free: 11.84 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006582/0.7192, allocations: 0.6674 MB / 0.9025 GB, free: 11.08 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00227/0.7215, allocations: 1.597 MB / 0.9041 GB, free: 9.379 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.7215, allocations: 4 kB / 0.9041 GB, free: 9.375 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003831/0.7219, allocations: 83.89 kB / 0.9042 GB, free: 9.293 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-06/0.7219, allocations: 8 kB / 0.9042 GB, free: 9.285 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.147e-05/0.7219, allocations: 12 kB / 0.9042 GB, free: 9.273 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.406e-06/0.722, allocations: 11.88 kB / 0.9042 GB, free: 9.262 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.722, allocations: 4 kB / 0.9042 GB, free: 9.258 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.723, allocations: 0.8261 MB / 0.905 GB, free: 8.367 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003589/0.7234, allocations: 239.8 kB / 0.9052 GB, free: 8.113 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001451/0.7235, allocations: 23.94 kB / 0.9052 GB, free: 8.09 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000685/0.7242, allocations: 34.81 kB / 0.9053 GB, free: 8.059 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.34e-05/0.7243, allocations: 43.83 kB / 0.9053 GB, free: 8.016 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.421e-05/0.7243, allocations: 27.98 kB / 0.9054 GB, free: 7.988 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001033/0.7254, allocations: 0.7077 MB / 0.906 GB, free: 7.27 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7254, allocations: 4 kB / 0.906 GB, free: 7.266 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008232/0.7262, allocations: 256 kB / 0.9063 GB, free: 7.016 MB / 0.67 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.0004551/0.7267, allocations: 222.5 kB / 0.9065 GB, free: 6.797 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001001/0.7277, allocations: 0.5348 MB / 0.907 GB, free: 6.262 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.7277, allocations: 0 / 0.907 GB, free: 6.262 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002603/0.728, allocations: 186 kB / 0.9072 GB, free: 6.082 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002666/0.7307, allocations: 0.6264 MB / 0.9078 GB, free: 5.473 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002777/0.7334, allocations: 1.933 MB / 0.9097 GB, free: 3.453 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006913/0.7341, allocations: 1.099 MB / 0.9108 GB, free: 2.328 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002088/0.7344, allocations: 75.42 kB / 0.9108 GB, free: 2.254 MB / 0.67 GB Notification: Performance of SimCode: time 4.81e-07/0.7344, allocations: 0 / 0.9108 GB, free: 2.254 MB / 0.67 GB Notification: Performance of Templates: time 0.0231/0.7575, allocations: 16.39 MB / 0.9269 GB, free: 2.043 MB / 0.6856 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)