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.001578/0.001578, allocations: 110.3 kB / 16.41 MB, free: 6.496 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.001327/0.001327, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.538/1.538, 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.002614/0.002614, allocations: 282.9 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.019/1.019, allocations: 169.2 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002795/0.002795, allocations: 95.84 kB / 0.6822 GB, free: 6.898 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4435/0.4463, allocations: 86.98 MB / 0.7671 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2137/0.66, allocations: 187.7 MB / 0.9505 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4753/1.135, allocations: 13.1 MB / 0.9633 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001301/1.137, allocations: 34.72 kB / 0.9633 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001324/1.138, allocations: 443.8 kB / 0.9637 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003036/1.141, allocations: 1.199 MB / 0.9649 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001774/1.143, allocations: 0.7121 MB / 0.9656 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00284/1.146, allocations: 2.018 MB / 0.9675 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001335/1.147, allocations: 0.6956 MB / 0.9682 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005271/1.152, allocations: 1.871 MB / 0.9701 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001822/1.154, allocations: 0.676 MB / 0.9707 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001673/1.154, allocations: 80.28 kB / 0.9708 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001909/1.156, allocations: 0.8707 MB / 0.9716 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004604/1.157, allocations: 395.6 kB / 0.972 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007231/1.157, allocations: 0.4995 MB / 0.9725 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002387/1.16, allocations: 1.509 MB / 0.974 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/1.16, allocations: 0 / 0.974 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.634e-06/1.16, allocations: 0.7188 kB / 0.974 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.607e-05/1.16, allocations: 0 / 0.974 GB, free: 1.637 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.002036/1.162, allocations: 1.273 MB / 0.9752 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/1.162, allocations: 9.219 kB / 0.9752 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/1.163, allocations: 221 kB / 0.9754 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/1.164, allocations: 0.6853 MB / 0.9761 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.46e-05/1.164, allocations: 58.12 kB / 0.9762 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/1.164, allocations: 77.62 kB / 0.9762 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001227/1.165, allocations: 0.9335 MB / 0.9772 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/1.165, allocations: 2.344 kB / 0.9772 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.669e-05/1.165, allocations: 42.47 kB / 0.9772 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-05/1.165, allocations: 25.28 kB / 0.9772 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008507/1.166, allocations: 0.6169 MB / 0.9778 GB, free: 16.29 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.004438/1.171, allocations: 4.59 MB / 0.9823 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007121/1.171, allocations: 0.5259 MB / 0.9828 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00028/1.172, allocations: 235.2 kB / 0.983 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001682/1.172, allocations: 110.7 kB / 0.9831 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/1.172, allocations: 41.69 kB / 0.9832 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 1.783e-06/1.172, allocations: 0.9688 kB / 0.9832 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.002883/1.175, allocations: 1.621 MB / 0.9848 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.731e-05/1.175, allocations: 107.8 kB / 0.9849 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008567/1.176, allocations: 0.7136 MB / 0.9856 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.515e-05/1.176, allocations: 36.02 kB / 0.9856 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003521/1.176, allocations: 429.6 kB / 0.986 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001748/1.176, allocations: 169.5 kB / 0.9862 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001596/1.177, allocations: 120.7 kB / 0.9863 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001538/1.177, allocations: 332.5 kB / 0.9866 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002477/1.177, allocations: 179.7 kB / 0.9868 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00048/1.177, allocations: 420.4 kB / 0.9872 GB, free: 11 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002092/1.179, allocations: 1.186 MB / 0.9883 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/1.179, allocations: 0 / 0.9883 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009245/1.18, allocations: 0.6697 MB / 0.989 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/1.18, allocations: 7.344 kB / 0.989 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/1.18, allocations: 11.31 kB / 0.989 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/1.18, allocations: 11.88 kB / 0.989 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004235/1.181, allocations: 129.3 kB / 0.9891 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/1.181, allocations: 12.34 kB / 0.9892 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006003/1.182, allocations: 28.89 kB / 0.9892 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.436e-05/1.182, allocations: 31.25 kB / 0.9892 GB, free: 10.58 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: 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.0003759/1.182, allocations: 273.2 kB / 0.9895 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001601/1.182, allocations: 83.36 kB / 0.9896 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001635/1.182, allocations: 96.59 kB / 0.9896 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/1.182, allocations: 4.125 kB / 0.9896 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/1.182, allocations: 2.125 kB / 0.9897 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007518/1.183, allocations: 0.7029 MB / 0.9903 GB, free: 9.957 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002212/1.185, allocations: 1.634 MB / 0.9919 GB, free: 9.367 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.904e-06/1.185, allocations: 7.406 kB / 0.9919 GB, free: 9.363 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004189/1.186, allocations: 101.9 kB / 0.992 GB, free: 9.363 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.144e-06/1.186, allocations: 7.438 kB / 0.992 GB, free: 9.363 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/1.186, allocations: 18.28 kB / 0.9921 GB, free: 9.359 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.533e-06/1.186, allocations: 11.31 kB / 0.9921 GB, free: 9.359 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/1.186, allocations: 7.375 kB / 0.9921 GB, free: 9.359 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009737/1.187, allocations: 0.8642 MB / 0.9929 GB, free: 9.047 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003159/1.187, allocations: 205.2 kB / 0.9931 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.577e-05/1.187, allocations: 22.69 kB / 0.9931 GB, free: 8.906 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004397/1.188, allocations: 18.12 kB / 0.9932 GB, free: 8.906 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.853e-05/1.188, allocations: 40.17 kB / 0.9932 GB, free: 8.902 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.934e-05/1.188, allocations: 17.56 kB / 0.9932 GB, free: 8.902 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005583/1.188, allocations: 0.5091 MB / 0.9937 GB, free: 8.809 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/1.188, allocations: 0.9062 kB / 0.9937 GB, free: 8.809 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007756/1.189, allocations: 207.5 kB / 0.9939 GB, free: 8.805 MB / 0.7325 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.0005454/1.19, allocations: 207.8 kB / 0.9941 GB, free: 8.699 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007222/1.19, allocations: 474.3 kB / 0.9946 GB, free: 8.684 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/1.19, allocations: 0.9688 kB / 0.9946 GB, free: 8.684 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000253/1.19, allocations: 207.7 kB / 0.9948 GB, free: 8.68 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001996/1.192, allocations: 483.1 kB / 0.9952 GB, free: 8.609 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002614/1.195, allocations: 1.675 MB / 0.9969 GB, free: 7.871 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006362/1.196, allocations: 1.031 MB / 0.9979 GB, free: 7.172 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0006609/1.196, allocations: 196.2 kB / 0.9981 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/1.197, allocations: 65.06 kB / 0.9981 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of SimCode: time 8.41e-07/1.197, allocations: 1.203 kB / 0.9981 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of Templates: time 0.02487/1.221, allocations: 15.27 MB / 1.013 GB, free: 5.926 MB / 0.7325 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 cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)