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.001095/0.001095, allocations: 99.19 kB / 16.35 MB, free: 5.824 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.00122/0.00122, allocations: 193.5 kB / 17.29 MB, free: 5.48 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.251/1.251, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00208/0.00208, allocations: 285.9 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8932/0.8932, allocations: 169.2 MB / 0.4989 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001717/0.001717, allocations: 103.9 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1548, allocations: 86.97 MB / 0.6816 GB, free: 7.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.4686/0.6235, allocations: 190.3 MB / 0.8675 GB, free: 148 kB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009401/0.6329, allocations: 5.686 MB / 0.873 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001453/0.6344, allocations: 43.75 kB / 0.873 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001572/0.6361, allocations: 0.5669 MB / 0.8736 GB, free: 9.832 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003804/0.6399, allocations: 1.606 MB / 0.8752 GB, free: 8.219 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003043/0.6429, allocations: 1.203 MB / 0.8763 GB, free: 7.027 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003231/0.6462, allocations: 2.508 MB / 0.8788 GB, free: 4.516 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001368/0.6475, allocations: 0.9943 MB / 0.8798 GB, free: 3.504 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001991/0.6496, allocations: 1.031 MB / 0.8808 GB, free: 2.469 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001637/0.6512, allocations: 0.8158 MB / 0.8816 GB, free: 1.656 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001464/0.6514, allocations: 104 kB / 0.8817 GB, free: 1.555 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002751/0.6541, allocations: 1.524 MB / 0.8832 GB, free: 28 kB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005151/0.6546, allocations: 490.7 kB / 0.8836 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007686/0.6554, allocations: 0.6261 MB / 0.8842 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002729/0.6582, allocations: 2.111 MB / 0.8863 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.6582, allocations: 0 / 0.8863 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.873e-06/0.6582, allocations: 0 / 0.8863 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.952e-05/0.6582, allocations: 4 kB / 0.8863 GB, free: 12.8 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.002335/0.6606, allocations: 1.473 MB / 0.8877 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.6606, allocations: 8.031 kB / 0.8877 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001886/0.6625, allocations: 334.2 kB / 0.8881 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001421/0.6639, allocations: 0.8078 MB / 0.8889 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.396e-05/0.664, allocations: 66 kB / 0.8889 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/0.6641, allocations: 88 kB / 0.889 GB, free: 9.945 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001695/0.6658, allocations: 1.07 MB / 0.89 GB, free: 8.832 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.6659, allocations: 0 / 0.89 GB, free: 8.832 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.573e-05/0.666, allocations: 43.98 kB / 0.8901 GB, free: 8.789 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.141e-05/0.666, allocations: 30 kB / 0.8901 GB, free: 8.762 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001445/0.6675, allocations: 0.8314 MB / 0.8909 GB, free: 7.926 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.005466/0.6729, allocations: 4.254 MB / 0.8951 GB, free: 3.402 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005894/0.6735, allocations: 382.5 kB / 0.8954 GB, free: 3.02 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002922/0.6739, allocations: 211.6 kB / 0.8956 GB, free: 2.812 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001856/0.674, allocations: 101.7 kB / 0.8957 GB, free: 2.695 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.6741, allocations: 42.5 kB / 0.8958 GB, free: 2.645 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=36): time 2.034e-06/0.6741, allocations: 0 / 0.8958 GB, free: 2.645 MB / 0.6544 GB Notification: Performance of matching and sorting (n=38): time 0.00247/0.6766, allocations: 1.335 MB / 0.8971 GB, free: 1.254 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.6766, allocations: 55.41 kB / 0.8971 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/0.6779, allocations: 0.9966 MB / 0.8981 GB, free: 172 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.562e-05/0.678, allocations: 41.69 kB / 0.8982 GB, free: 124 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003748/0.6783, allocations: 499.2 kB / 0.8986 GB, free: 15.63 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.6785, allocations: 145.9 kB / 0.8988 GB, free: 15.48 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001952/0.6787, allocations: 118.2 kB / 0.8989 GB, free: 15.36 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.6788, allocations: 334 kB / 0.8992 GB, free: 15.03 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004362/0.6792, allocations: 237.2 kB / 0.8994 GB, free: 14.8 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005554/0.6798, allocations: 419.8 kB / 0.8998 GB, free: 14.31 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.002387/0.6822, allocations: 1.215 MB / 0.901 GB, free: 13 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.6822, allocations: 0 / 0.901 GB, free: 13 MB / 0.67 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001329/0.6835, allocations: 0.7768 MB / 0.9018 GB, free: 12.22 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.6836, allocations: 8 kB / 0.9018 GB, free: 12.21 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.6836, allocations: 4 kB / 0.9018 GB, free: 12.21 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.297e-05/0.6836, allocations: 11.94 kB / 0.9018 GB, free: 12.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005734/0.6842, allocations: 143.8 kB / 0.9019 GB, free: 12.05 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.677e-05/0.6842, allocations: 12.25 kB / 0.9019 GB, free: 12.04 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008099/0.685, allocations: 63.84 kB / 0.902 GB, free: 11.98 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.985e-05/0.6851, allocations: 24 kB / 0.902 GB, free: 11.96 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.0004159/0.6855, allocations: 318.4 kB / 0.9023 GB, free: 11.64 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/0.6857, allocations: 94.88 kB / 0.9024 GB, free: 11.54 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001696/0.6859, allocations: 105 kB / 0.9025 GB, free: 11.43 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.6859, allocations: 7.938 kB / 0.9025 GB, free: 11.42 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.6859, allocations: 0 / 0.9025 GB, free: 11.42 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000747/0.6867, allocations: 0.6791 MB / 0.9032 GB, free: 10.66 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002314/0.689, allocations: 1.589 MB / 0.9047 GB, free: 8.961 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.689, allocations: 4 kB / 0.9048 GB, free: 8.957 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003778/0.6894, allocations: 91.83 kB / 0.9048 GB, free: 8.867 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.385e-05/0.6894, allocations: 4 kB / 0.9048 GB, free: 8.863 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.227e-05/0.6894, allocations: 12 kB / 0.9049 GB, free: 8.852 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/0.6895, allocations: 8 kB / 0.9049 GB, free: 8.844 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/0.6895, allocations: 12.31 kB / 0.9049 GB, free: 8.832 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.6905, allocations: 0.8258 MB / 0.9057 GB, free: 7.941 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003928/0.6909, allocations: 239.8 kB / 0.9059 GB, free: 7.688 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.691, allocations: 15.94 kB / 0.9059 GB, free: 7.672 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006196/0.6916, allocations: 39.91 kB / 0.906 GB, free: 7.633 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.6917, allocations: 39.84 kB / 0.906 GB, free: 7.594 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.453e-05/0.6918, allocations: 23.98 kB / 0.906 GB, free: 7.57 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009486/0.6928, allocations: 0.7077 MB / 0.9067 GB, free: 6.852 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6928, allocations: 0 / 0.9067 GB, free: 6.852 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007806/0.6936, allocations: 260 kB / 0.907 GB, free: 6.598 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.0004535/0.694, allocations: 198.2 kB / 0.9072 GB, free: 6.402 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0008461/0.6949, allocations: 0.5135 MB / 0.9077 GB, free: 5.891 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.6949, allocations: 8.125 kB / 0.9077 GB, free: 5.883 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002436/0.6951, allocations: 179.7 kB / 0.9078 GB, free: 5.707 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002272/0.6974, allocations: 0.614 MB / 0.9084 GB, free: 5.105 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002607/0.7, allocations: 1.842 MB / 0.9102 GB, free: 3.184 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007185/0.7008, allocations: 1.099 MB / 0.9113 GB, free: 2.055 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0006726/0.7015, allocations: 248.3 kB / 0.9115 GB, free: 1.809 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001654/0.7016, allocations: 75.42 kB / 0.9116 GB, free: 1.734 MB / 0.67 GB Notification: Performance of SimCode: time 4.61e-07/0.7016, allocations: 0 / 0.9116 GB, free: 1.734 MB / 0.67 GB Notification: Performance of Templates: time 0.03112/0.7328, allocations: 19.75 MB / 0.9309 GB, free: 14.32 MB / 0.7012 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)