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.001535/0.001535, allocations: 112.1 kB / 16.41 MB, free: 6.441 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.001064/0.001065, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002351/0.00235, allocations: 291.1 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 0.9418/0.9418, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 91.86 kB / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4649/0.4668, allocations: 86.97 MB / 0.7671 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1912/0.6581, allocations: 187.3 MB / 0.9499 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.496/1.154, allocations: 13.07 MB / 0.9627 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001629/1.156, allocations: 33.72 kB / 0.9627 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001429/1.157, allocations: 428.7 kB / 0.9631 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002893/1.16, allocations: 1.153 MB / 0.9643 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001805/1.162, allocations: 0.7072 MB / 0.965 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002359/1.164, allocations: 2.021 MB / 0.9669 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00112/1.166, allocations: 0.8416 MB / 0.9678 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003885/1.169, allocations: 1.827 MB / 0.9695 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001436/1.171, allocations: 0.6683 MB / 0.9702 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000141/1.171, allocations: 80.8 kB / 0.9703 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001836/1.173, allocations: 0.8696 MB / 0.9711 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003966/1.173, allocations: 387.9 kB / 0.9715 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005965/1.174, allocations: 0.4978 MB / 0.972 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001725/1.176, allocations: 1.504 MB / 0.9734 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/1.176, allocations: 0 / 0.9734 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.333e-06/1.176, allocations: 3.531 kB / 0.9734 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.352e-05/1.176, allocations: 0 / 0.9734 GB, free: 1.594 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.001723/1.177, allocations: 1.239 MB / 0.9747 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/1.177, allocations: 9.156 kB / 0.9747 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/1.179, allocations: 213.3 kB / 0.9749 GB, free: 16.85 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/1.18, allocations: 0.6869 MB / 0.9755 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.309e-05/1.18, allocations: 54.28 kB / 0.9756 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.953e-05/1.18, allocations: 81.09 kB / 0.9757 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/1.181, allocations: 0.9302 MB / 0.9766 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/1.181, allocations: 7 kB / 0.9766 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.717e-05/1.181, allocations: 35.12 kB / 0.9766 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-05/1.181, allocations: 28.56 kB / 0.9766 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008352/1.182, allocations: 0.6171 MB / 0.9772 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.003772/1.186, allocations: 4.581 MB / 0.9817 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006688/1.186, allocations: 0.5456 MB / 0.9823 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002836/1.187, allocations: 250.4 kB / 0.9825 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001661/1.187, allocations: 101.2 kB / 0.9826 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/1.187, allocations: 45.53 kB / 0.9826 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 1.523e-06/1.187, allocations: 0 / 0.9826 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.002423/1.189, allocations: 1.583 MB / 0.9842 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.107e-05/1.189, allocations: 111.4 kB / 0.9843 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006941/1.19, allocations: 0.7126 MB / 0.985 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.199e-05/1.19, allocations: 36.64 kB / 0.985 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003031/1.19, allocations: 422.2 kB / 0.9854 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/1.19, allocations: 169 kB / 0.9856 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/1.191, allocations: 119.6 kB / 0.9857 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001135/1.191, allocations: 329.8 kB / 0.986 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002568/1.191, allocations: 189.2 kB / 0.9862 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000454/1.191, allocations: 413.9 kB / 0.9866 GB, free: 11.04 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.002097/1.194, allocations: 1.181 MB / 0.9877 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/1.194, allocations: 2.438 kB / 0.9877 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008578/1.194, allocations: 0.6677 MB / 0.9884 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/1.194, allocations: 8.438 kB / 0.9884 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/1.195, allocations: 17.78 kB / 0.9884 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/1.195, allocations: 6.812 kB / 0.9884 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004092/1.195, allocations: 125.5 kB / 0.9885 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/1.195, allocations: 18.27 kB / 0.9886 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005118/1.195, allocations: 24.64 kB / 0.9886 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.4e-05/1.196, allocations: 25.66 kB / 0.9886 GB, free: 10.63 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.0003033/1.196, allocations: 274.3 kB / 0.9889 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/1.196, allocations: 79.59 kB / 0.9889 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001371/1.196, allocations: 96.84 kB / 0.989 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/1.196, allocations: 4.906 kB / 0.989 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-06/1.196, allocations: 1.203 kB / 0.989 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006407/1.197, allocations: 0.7023 MB / 0.9897 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002128/1.199, allocations: 1.637 MB / 0.9913 GB, free: 9.422 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.982e-06/1.199, allocations: 7.594 kB / 0.9913 GB, free: 9.418 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004181/1.199, allocations: 98.52 kB / 0.9914 GB, free: 9.418 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/1.199, allocations: 8.688 kB / 0.9914 GB, free: 9.418 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.445e-05/1.199, allocations: 22.2 kB / 0.9915 GB, free: 9.414 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/1.199, allocations: 5.375 kB / 0.9915 GB, free: 9.414 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/1.199, allocations: 7 kB / 0.9915 GB, free: 9.414 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009859/1.2, allocations: 0.8606 MB / 0.9923 GB, free: 9.105 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003131/1.201, allocations: 208 kB / 0.9925 GB, free: 8.973 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/1.201, allocations: 15 kB / 0.9925 GB, free: 8.969 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004325/1.201, allocations: 18.2 kB / 0.9925 GB, free: 8.969 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.831e-05/1.201, allocations: 42.77 kB / 0.9926 GB, free: 8.965 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.797e-05/1.201, allocations: 17.84 kB / 0.9926 GB, free: 8.965 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005081/1.202, allocations: 0.5125 MB / 0.9931 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/1.202, allocations: 0.9375 kB / 0.9931 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006446/1.203, allocations: 204.2 kB / 0.9933 GB, free: 8.867 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.0004544/1.203, allocations: 199.6 kB / 0.9935 GB, free: 8.766 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000659/1.204, allocations: 488.4 kB / 0.9939 GB, free: 8.75 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.204, allocations: 2.719 kB / 0.9939 GB, free: 8.75 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002594/1.204, allocations: 216.5 kB / 0.9942 GB, free: 8.746 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00194/1.206, allocations: 482 kB / 0.9946 GB, free: 8.676 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002378/1.208, allocations: 1.719 MB / 0.9963 GB, free: 7.926 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005251/1.209, allocations: 1.026 MB / 0.9973 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001729/1.209, allocations: 72 kB / 0.9974 GB, free: 7.219 MB / 0.7325 GB Notification: Performance of SimCode: time 1.954e-06/1.209, allocations: 4.031 kB / 0.9974 GB, free: 7.219 MB / 0.7325 GB Notification: Performance of Templates: time 0.01809/1.227, allocations: 13.1 MB / 1.01 GB, free: 6.066 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)