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.00154/0.00154, allocations: 110.9 kB / 16.37 MB, free: 6.469 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.001666/0.001666, allocations: 189.9 kB / 17.3 MB, free: 5.828 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002281/0.002281, allocations: 281.4 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9436/0.9436, allocations: 169.3 MB / 0.4989 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001719/0.001719, allocations: 94.36 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1654, allocations: 86.97 MB / 0.6816 GB, free: 7.477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.4795/0.6449, allocations: 187.3 MB / 0.8645 GB, free: 3.312 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01493/0.6599, allocations: 13.07 MB / 0.8772 GB, free: 6.203 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001209/0.6611, allocations: 31.81 kB / 0.8773 GB, free: 6.172 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001242/0.6624, allocations: 429.2 kB / 0.8777 GB, free: 5.75 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002797/0.6653, allocations: 1.155 MB / 0.8788 GB, free: 4.59 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001643/0.6669, allocations: 0.7121 MB / 0.8795 GB, free: 3.887 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002273/0.6692, allocations: 2.009 MB / 0.8815 GB, free: 1.875 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009831/0.6702, allocations: 0.8481 MB / 0.8823 GB, free: 1.012 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003418/0.6736, allocations: 1.809 MB / 0.8841 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001303/0.675, allocations: 0.6631 MB / 0.8847 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000113/0.6751, allocations: 83.94 kB / 0.8848 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001567/0.6767, allocations: 0.8653 MB / 0.8856 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003538/0.677, allocations: 391 kB / 0.886 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004952/0.6775, allocations: 0.5015 MB / 0.8865 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001642/0.6792, allocations: 1.499 MB / 0.888 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.6792, allocations: 4 kB / 0.888 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.001e-06/0.6792, allocations: 0 / 0.888 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.237e-05/0.6792, allocations: 0 / 0.888 GB, free: 11.19 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001677/0.6809, allocations: 1.236 MB / 0.8892 GB, free: 9.902 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.6809, allocations: 12.03 kB / 0.8892 GB, free: 9.891 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001163/0.6821, allocations: 214.6 kB / 0.8894 GB, free: 9.68 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/0.6832, allocations: 0.6829 MB / 0.89 GB, free: 8.965 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.373e-05/0.6833, allocations: 58 kB / 0.8901 GB, free: 8.906 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.6834, allocations: 76 kB / 0.8902 GB, free: 8.832 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.6846, allocations: 0.9365 MB / 0.8911 GB, free: 7.812 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/0.6847, allocations: 4 kB / 0.8911 GB, free: 7.809 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.73e-05/0.6847, allocations: 32 kB / 0.8911 GB, free: 7.777 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.229e-05/0.6848, allocations: 41.19 kB / 0.8912 GB, free: 7.738 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009377/0.6857, allocations: 0.6138 MB / 0.8918 GB, free: 7.121 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.00405/0.6898, allocations: 4.585 MB / 0.8962 GB, free: 2.23 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007553/0.6906, allocations: 0.5323 MB / 0.8968 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003225/0.6909, allocations: 251.4 kB / 0.897 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001756/0.6911, allocations: 101.1 kB / 0.8971 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.6911, allocations: 38.56 kB / 0.8971 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=43): time 1.914e-06/0.6911, allocations: 0 / 0.8971 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45): time 0.002543/0.6937, allocations: 1.595 MB / 0.8987 GB, free: 15.57 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.6937, allocations: 106.8 kB / 0.8988 GB, free: 15.45 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000789/0.6945, allocations: 0.7155 MB / 0.8995 GB, free: 14.71 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.737e-05/0.6946, allocations: 37.95 kB / 0.8995 GB, free: 14.67 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002672/0.6949, allocations: 415.8 kB / 0.8999 GB, free: 14.26 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.695, allocations: 165.6 kB / 0.9001 GB, free: 14.1 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000159/0.6952, allocations: 114.2 kB / 0.9002 GB, free: 13.98 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.6953, allocations: 334 kB / 0.9005 GB, free: 13.65 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002872/0.6956, allocations: 181.2 kB / 0.9007 GB, free: 13.47 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004367/0.696, allocations: 421 kB / 0.9011 GB, free: 12.96 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002184/0.6982, allocations: 1.187 MB / 0.9022 GB, free: 11.68 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.6982, allocations: 0 / 0.9022 GB, free: 11.68 MB / 0.67 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009703/0.6992, allocations: 0.6679 MB / 0.9029 GB, free: 11 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.6992, allocations: 11.94 kB / 0.9029 GB, free: 10.99 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.6993, allocations: 4 kB / 0.9029 GB, free: 10.98 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/0.6993, allocations: 12 kB / 0.9029 GB, free: 10.97 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004468/0.6997, allocations: 119.8 kB / 0.903 GB, free: 10.86 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.721e-05/0.6998, allocations: 24.39 kB / 0.9031 GB, free: 10.83 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005442/0.7003, allocations: 27.94 kB / 0.9031 GB, free: 10.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.353e-05/0.7004, allocations: 31.94 kB / 0.9031 GB, free: 10.77 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: 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.0003345/0.7007, allocations: 274.4 kB / 0.9034 GB, free: 10.5 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/0.7009, allocations: 94.89 kB / 0.9035 GB, free: 10.4 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001638/0.7011, allocations: 83.67 kB / 0.9035 GB, free: 10.32 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.7011, allocations: 4 kB / 0.9036 GB, free: 10.31 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/0.7011, allocations: 0 / 0.9036 GB, free: 10.31 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000702/0.7018, allocations: 0.6989 MB / 0.9042 GB, free: 9.527 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002287/0.7041, allocations: 1.634 MB / 0.9058 GB, free: 7.785 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.7041, allocations: 7.938 kB / 0.9058 GB, free: 7.781 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004583/0.7046, allocations: 104.3 kB / 0.9059 GB, free: 7.68 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.448e-06/0.7046, allocations: 15.94 kB / 0.906 GB, free: 7.664 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.426e-05/0.7046, allocations: 16 kB / 0.906 GB, free: 7.648 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.7046, allocations: 4 kB / 0.906 GB, free: 7.645 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.7047, allocations: 4 kB / 0.906 GB, free: 7.641 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.7057, allocations: 0.873 MB / 0.9068 GB, free: 6.707 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003046/0.706, allocations: 204.1 kB / 0.907 GB, free: 6.488 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.816e-05/0.7061, allocations: 19.92 kB / 0.907 GB, free: 6.469 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000443/0.7066, allocations: 16 kB / 0.9071 GB, free: 6.453 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.127e-05/0.7066, allocations: 55.91 kB / 0.9071 GB, free: 6.398 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.349e-05/0.7067, allocations: 16 kB / 0.9071 GB, free: 6.383 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005712/0.7073, allocations: 0.5107 MB / 0.9076 GB, free: 5.879 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7073, allocations: 0 / 0.9076 GB, free: 5.879 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0006942/0.708, allocations: 200 kB / 0.9078 GB, free: 5.684 MB / 0.67 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.0004311/0.7084, allocations: 203.4 kB / 0.908 GB, free: 5.492 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0007543/0.7092, allocations: 482 kB / 0.9085 GB, free: 5.023 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.7092, allocations: 448 / 0.9085 GB, free: 5.023 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002909/0.7095, allocations: 211.7 kB / 0.9087 GB, free: 4.816 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001889/0.7114, allocations: 481 kB / 0.9091 GB, free: 4.363 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00228/0.7137, allocations: 1.648 MB / 0.9107 GB, free: 2.633 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005348/0.7142, allocations: 1.032 MB / 0.9117 GB, free: 1.574 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0005706/0.7148, allocations: 206.9 kB / 0.9119 GB, free: 1.367 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001619/0.715, allocations: 67.42 kB / 0.912 GB, free: 1.301 MB / 0.67 GB Notification: Performance of SimCode: time 4.81e-07/0.715, allocations: 0 / 0.912 GB, free: 1.301 MB / 0.67 GB Notification: Performance of Templates: time 0.02447/0.7394, allocations: 15.04 MB / 0.9267 GB, free: 2.551 MB / 0.6856 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)