Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001658/0.001658, allocations: 101.2 kB / 16.27 MB, free: 5.969 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.001859/0.001859, allocations: 192 kB / 17.2 MB, free: 5.598 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.368/1.368, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7494/0.7494, allocations: 122.9 MB / 413.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 64.14 kB / 0.4911 GB, free: 7.449 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3936/0.3948, allocations: 77.93 MB / 0.5672 GB, free: 32.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.6561/1.051, allocations: 187.2 MB / 0.7501 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01771/1.069, allocations: 13.06 MB / 0.7628 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001628/1.07, allocations: 33.97 kB / 0.7628 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001485/1.072, allocations: 427.9 kB / 0.7633 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003495/1.075, allocations: 1.157 MB / 0.7644 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002311/1.078, allocations: 0.7013 MB / 0.7651 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003722/1.082, allocations: 2.016 MB / 0.767 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00161/1.083, allocations: 0.8425 MB / 0.7679 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005602/1.089, allocations: 1.803 MB / 0.7696 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002822/1.092, allocations: 0.669 MB / 0.7703 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003303/1.092, allocations: 81 kB / 0.7703 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003415/1.095, allocations: 0.8653 MB / 0.7712 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006164/1.096, allocations: 384.7 kB / 0.7716 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009736/1.097, allocations: 0.502 MB / 0.7721 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003034/1.1, allocations: 1.475 MB / 0.7735 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/1.1, allocations: 0.6562 kB / 0.7735 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.667e-06/1.1, allocations: 0.9062 kB / 0.7735 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.484e-05/1.1, allocations: 7.125 kB / 0.7735 GB, free: 1.434 MB / 0.5762 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.002378/1.103, allocations: 1.226 MB / 0.7747 GB, free: 16.74 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/1.103, allocations: 12 kB / 0.7747 GB, free: 16.74 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001369/1.104, allocations: 218.5 kB / 0.7749 GB, free: 16.69 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/1.105, allocations: 0.6409 MB / 0.7755 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.478e-05/1.105, allocations: 62.33 kB / 0.7756 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/1.105, allocations: 79.33 kB / 0.7757 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001562/1.107, allocations: 0.9348 MB / 0.7766 GB, free: 16.13 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.602e-05/1.107, allocations: 4.875 kB / 0.7766 GB, free: 16.13 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-05/1.107, allocations: 33.72 kB / 0.7766 GB, free: 16.13 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.262e-05/1.107, allocations: 28.22 kB / 0.7767 GB, free: 16.13 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009821/1.108, allocations: 0.6148 MB / 0.7773 GB, free: 16.13 MB / 0.5919 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.004202/1.112, allocations: 4.602 MB / 0.7817 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007431/1.113, allocations: 0.5388 MB / 0.7823 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003146/1.113, allocations: 255.8 kB / 0.7825 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000195/1.114, allocations: 103.8 kB / 0.7826 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/1.114, allocations: 39.05 kB / 0.7827 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 3.016e-06/1.114, allocations: 0.7812 kB / 0.7827 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45): time 0.002772/1.116, allocations: 1.596 MB / 0.7842 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.44e-05/1.116, allocations: 106.6 kB / 0.7843 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007982/1.117, allocations: 0.7149 MB / 0.785 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.432e-05/1.117, allocations: 34.83 kB / 0.785 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003206/1.118, allocations: 421.8 kB / 0.7855 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001419/1.118, allocations: 157.9 kB / 0.7856 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001709/1.118, allocations: 119.8 kB / 0.7857 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001208/1.118, allocations: 330.7 kB / 0.786 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002705/1.118, allocations: 190 kB / 0.7862 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004449/1.119, allocations: 417.7 kB / 0.7866 GB, free: 10.88 MB / 0.5919 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.002104/1.121, allocations: 1.175 MB / 0.7878 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/1.121, allocations: 7.406 kB / 0.7878 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009571/1.122, allocations: 0.6668 MB / 0.7884 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/1.122, allocations: 8.844 kB / 0.7884 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/1.122, allocations: 7.125 kB / 0.7884 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/1.122, allocations: 11.7 kB / 0.7884 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004393/1.122, allocations: 124.4 kB / 0.7886 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.66e-05/1.122, allocations: 16.62 kB / 0.7886 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005865/1.123, allocations: 28.19 kB / 0.7886 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.743e-05/1.123, allocations: 28.69 kB / 0.7886 GB, free: 10.47 MB / 0.5919 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.0003779/1.123, allocations: 281.4 kB / 0.7889 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/1.124, allocations: 79.69 kB / 0.789 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001621/1.124, allocations: 96 kB / 0.7891 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/1.124, allocations: 6.719 kB / 0.7891 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.471e-05/1.124, allocations: 5.062 kB / 0.7891 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006802/1.125, allocations: 0.7048 MB / 0.7898 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002234/1.127, allocations: 1.641 MB / 0.7914 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/1.127, allocations: 5.984 kB / 0.7914 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000426/1.127, allocations: 102 kB / 0.7915 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/1.127, allocations: 6.125 kB / 0.7915 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.423e-05/1.127, allocations: 15.16 kB / 0.7915 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.183e-06/1.127, allocations: 11.98 kB / 0.7915 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.92e-06/1.127, allocations: 5.312 kB / 0.7915 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/1.128, allocations: 0.8716 MB / 0.7924 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002755/1.129, allocations: 207.5 kB / 0.7926 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/1.129, allocations: 15.19 kB / 0.7926 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004265/1.129, allocations: 17.05 kB / 0.7926 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.937e-05/1.129, allocations: 37.88 kB / 0.7926 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.198e-05/1.129, allocations: 23.88 kB / 0.7926 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005596/1.13, allocations: 0.5107 MB / 0.7931 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/1.13, allocations: 0.9375 kB / 0.7931 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007723/1.131, allocations: 201.2 kB / 0.7933 GB, free: 8.68 MB / 0.5919 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.0005154/1.131, allocations: 209.4 kB / 0.7935 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008218/1.132, allocations: 0.5099 MB / 0.794 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/1.132, allocations: 3.5 kB / 0.794 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002613/1.132, allocations: 209.2 kB / 0.7942 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002153/1.134, allocations: 491.9 kB / 0.7947 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002653/1.137, allocations: 1.675 MB / 0.7963 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005744/1.138, allocations: 1.026 MB / 0.7973 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007683/1.138, allocations: 197.8 kB / 0.7975 GB, free: 6.992 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001716/1.139, allocations: 64.16 kB / 0.7976 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of SimCode: time 1.784e-06/1.139, allocations: 0 / 0.7976 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of Templates: time 0.03027/1.169, allocations: 15.05 MB / 0.8123 GB, free: 2.961 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)