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.001594/0.001594, allocations: 109.5 kB / 16.41 MB, free: 6.516 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.00161/0.00161, allocations: 188 kB / 17.34 MB, free: 5.738 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.42/1.42, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002556/0.002556, allocations: 290.7 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.995/0.995, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002802/0.002802, allocations: 99.84 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4436/0.4464, allocations: 86.97 MB / 0.7671 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2239/0.6703, allocations: 190.8 MB / 0.9534 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4561/1.126, allocations: 5.695 MB / 0.959 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002035/1.128, allocations: 41 kB / 0.959 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001728/1.13, allocations: 0.5932 MB / 0.9596 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004718/1.135, allocations: 1.669 MB / 0.9612 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003841/1.139, allocations: 1.219 MB / 0.9624 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004974/1.144, allocations: 2.508 MB / 0.9649 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001568/1.145, allocations: 0.8197 MB / 0.9657 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0028/1.148, allocations: 1.064 MB / 0.9667 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002142/1.15, allocations: 0.8127 MB / 0.9675 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000192/1.15, allocations: 101.7 kB / 0.9676 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003387/1.154, allocations: 1.538 MB / 0.9691 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006157/1.154, allocations: 0.4943 MB / 0.9696 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008999/1.155, allocations: 0.6225 MB / 0.9702 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003299/1.159, allocations: 2.126 MB / 0.9723 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/1.159, allocations: 2.062 kB / 0.9723 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.473e-06/1.159, allocations: 0.875 kB / 0.9723 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.513e-05/1.159, allocations: 0 / 0.9723 GB, free: 1.613 MB / 0.7169 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.002316/1.161, allocations: 1.504 MB / 0.9737 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/1.161, allocations: 8.875 kB / 0.9737 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001948/1.163, allocations: 345 kB / 0.9741 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001305/1.164, allocations: 0.8133 MB / 0.9749 GB, free: 16.42 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.451e-05/1.164, allocations: 63.78 kB / 0.9749 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/1.164, allocations: 84.61 kB / 0.975 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/1.166, allocations: 1.074 MB / 0.976 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/1.166, allocations: 5.562 kB / 0.9761 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.654e-05/1.166, allocations: 41.28 kB / 0.9761 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-05/1.166, allocations: 34.75 kB / 0.9761 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001313/1.167, allocations: 0.8315 MB / 0.9769 GB, free: 16.25 MB / 0.7325 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.005155/1.173, allocations: 4.272 MB / 0.9811 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005207/1.173, allocations: 351.5 kB / 0.9814 GB, free: 14 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000253/1.173, allocations: 206.7 kB / 0.9816 GB, free: 14 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001911/1.174, allocations: 100 kB / 0.9817 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/1.174, allocations: 37.91 kB / 0.9818 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=36): time 2.865e-06/1.174, allocations: 3.984 kB / 0.9818 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of matching and sorting (n=38): time 0.002399/1.176, allocations: 1.355 MB / 0.9831 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/1.176, allocations: 54.81 kB / 0.9832 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/1.177, allocations: 1.003 MB / 0.9841 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.229e-05/1.177, allocations: 35.27 kB / 0.9842 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003798/1.178, allocations: 0.4991 MB / 0.9847 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/1.178, allocations: 149.2 kB / 0.9848 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001846/1.178, allocations: 124.6 kB / 0.9849 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001659/1.178, allocations: 330.3 kB / 0.9852 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000406/1.179, allocations: 233.2 kB / 0.9854 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000561/1.179, allocations: 425.4 kB / 0.9859 GB, free: 12.3 MB / 0.7325 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.002293/1.181, allocations: 1.217 MB / 0.987 GB, free: 12 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/1.181, allocations: 2.094 kB / 0.987 GB, free: 12 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001251/1.183, allocations: 0.7771 MB / 0.9878 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/1.183, allocations: 9.406 kB / 0.9878 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/1.183, allocations: 12.73 kB / 0.9878 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-05/1.183, allocations: 8.594 kB / 0.9878 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005657/1.183, allocations: 146.1 kB / 0.988 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.71e-05/1.183, allocations: 9.547 kB / 0.988 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009277/1.184, allocations: 55.14 kB / 0.988 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-05/1.184, allocations: 30.64 kB / 0.9881 GB, free: 11.9 MB / 0.7325 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.0005166/1.185, allocations: 304.4 kB / 0.9884 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001755/1.185, allocations: 107.2 kB / 0.9885 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001991/1.185, allocations: 110 kB / 0.9886 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/1.185, allocations: 5.312 kB / 0.9886 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/1.185, allocations: 0 / 0.9886 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007509/1.186, allocations: 0.6775 MB / 0.9892 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002549/1.189, allocations: 1.579 MB / 0.9908 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/1.189, allocations: 8.469 kB / 0.9908 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003731/1.189, allocations: 83.78 kB / 0.9909 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/1.189, allocations: 4.844 kB / 0.9909 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.632e-05/1.189, allocations: 19.41 kB / 0.9909 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.678e-06/1.189, allocations: 12.97 kB / 0.9909 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/1.189, allocations: 6.031 kB / 0.9909 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/1.19, allocations: 0.8318 MB / 0.9917 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004107/1.19, allocations: 245.7 kB / 0.9919 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/1.191, allocations: 22.62 kB / 0.992 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006549/1.191, allocations: 30.84 kB / 0.992 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.943e-05/1.191, allocations: 41.06 kB / 0.992 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.609e-05/1.191, allocations: 23.67 kB / 0.9921 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001012/1.192, allocations: 0.7123 MB / 0.9928 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.01e-07/1.192, allocations: 4.062 kB / 0.9928 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008583/1.193, allocations: 251.4 kB / 0.993 GB, free: 10.23 MB / 0.7325 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.0004795/1.194, allocations: 219.5 kB / 0.9932 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007975/1.194, allocations: 491.6 kB / 0.9937 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.194, allocations: 0.7188 kB / 0.9937 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002159/1.195, allocations: 183.1 kB / 0.9939 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00265/1.197, allocations: 0.6171 MB / 0.9945 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002889/1.2, allocations: 1.872 MB / 0.9963 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007189/1.201, allocations: 1.097 MB / 0.9974 GB, free: 8.527 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007735/1.202, allocations: 251.6 kB / 0.9976 GB, free: 8.488 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001703/1.202, allocations: 76.03 kB / 0.9977 GB, free: 8.48 MB / 0.7325 GB Notification: Performance of SimCode: time 8.42e-07/1.202, allocations: 0 / 0.9977 GB, free: 8.48 MB / 0.7325 GB Notification: Performance of Templates: time 0.03255/1.234, allocations: 19.99 MB / 1.017 GB, free: 4.094 MB / 0.7325 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)