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.00173/0.00173, allocations: 106.4 kB / 15.98 MB, free: 6.344 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.001828/0.001828, allocations: 194.1 kB / 16.91 MB, free: 6.184 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.39/1.39, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7756/0.7756, allocations: 122.9 MB / 413.6 MB, free: 15.97 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 71.88 kB / 0.4906 GB, free: 7.773 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4118/0.4133, allocations: 77.92 MB / 0.5667 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2285/0.6418, allocations: 184.8 MB / 0.7472 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4316/1.073, allocations: 12.95 MB / 0.7599 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001255/1.075, allocations: 33.38 kB / 0.7599 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001391/1.076, allocations: 367.1 kB / 0.7602 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003096/1.079, allocations: 1.081 MB / 0.7613 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001985/1.081, allocations: 0.6413 MB / 0.7619 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003045/1.084, allocations: 2.013 MB / 0.7639 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001382/1.086, allocations: 0.8191 MB / 0.7647 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004718/1.09, allocations: 1.77 MB / 0.7664 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002052/1.093, allocations: 0.7014 MB / 0.7671 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001641/1.093, allocations: 80.81 kB / 0.7672 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002421/1.095, allocations: 0.9084 MB / 0.7681 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004241/1.096, allocations: 389.6 kB / 0.7684 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006753/1.096, allocations: 0.5022 MB / 0.7689 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002086/1.098, allocations: 1.529 MB / 0.7704 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.098, allocations: 0 / 0.7704 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.613e-06/1.098, allocations: 1.469 kB / 0.7704 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.579e-05/1.098, allocations: 0 / 0.7704 GB, free: 1.512 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.002092/1.101, allocations: 1.231 MB / 0.7716 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/1.101, allocations: 11.06 kB / 0.7716 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001242/1.102, allocations: 213.8 kB / 0.7718 GB, free: 16.77 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009794/1.103, allocations: 0.643 MB / 0.7725 GB, free: 16.47 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.797e-05/1.103, allocations: 61.34 kB / 0.7725 GB, free: 16.47 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/1.103, allocations: 80.66 kB / 0.7726 GB, free: 16.47 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001398/1.104, allocations: 0.93 MB / 0.7735 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.636e-05/1.104, allocations: 4.031 kB / 0.7735 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.593e-05/1.105, allocations: 42.14 kB / 0.7736 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.844e-05/1.105, allocations: 26.59 kB / 0.7736 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/1.106, allocations: 0.6138 MB / 0.7742 GB, free: 16.2 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.004406/1.11, allocations: 4.596 MB / 0.7787 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007244/1.111, allocations: 0.5359 MB / 0.7792 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003038/1.111, allocations: 250 kB / 0.7794 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002092/1.111, allocations: 100.2 kB / 0.7795 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/1.111, allocations: 44.78 kB / 0.7796 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 2.465e-06/1.111, allocations: 0.9375 kB / 0.7796 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45): time 0.002809/1.114, allocations: 1.588 MB / 0.7811 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.421e-05/1.114, allocations: 113.1 kB / 0.7812 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008184/1.115, allocations: 0.7088 MB / 0.7819 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.2e-05/1.115, allocations: 39.61 kB / 0.782 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003005/1.116, allocations: 414.9 kB / 0.7824 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000158/1.116, allocations: 166.7 kB / 0.7825 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001847/1.116, allocations: 120.6 kB / 0.7826 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001324/1.116, allocations: 332.7 kB / 0.783 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002704/1.116, allocations: 189.5 kB / 0.7831 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004428/1.117, allocations: 416.6 kB / 0.7835 GB, free: 10.95 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.002152/1.119, allocations: 1.166 MB / 0.7847 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/1.119, allocations: 3.188 kB / 0.7847 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009441/1.12, allocations: 0.6806 MB / 0.7853 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/1.12, allocations: 9 kB / 0.7853 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/1.12, allocations: 6.094 kB / 0.7853 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.397e-05/1.12, allocations: 14.92 kB / 0.7854 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004417/1.12, allocations: 124.5 kB / 0.7855 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.575e-05/1.12, allocations: 11.38 kB / 0.7855 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006993/1.121, allocations: 56.61 kB / 0.7855 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.338e-05/1.121, allocations: 29.3 kB / 0.7856 GB, free: 10.54 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.000353/1.122, allocations: 276.3 kB / 0.7858 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/1.122, allocations: 82.72 kB / 0.7859 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001752/1.122, allocations: 97.14 kB / 0.786 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/1.122, allocations: 3.594 kB / 0.786 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/1.122, allocations: 3.75 kB / 0.786 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006562/1.123, allocations: 0.7 MB / 0.7867 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002325/1.125, allocations: 1.642 MB / 0.7883 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.281e-06/1.125, allocations: 3.406 kB / 0.7883 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004415/1.125, allocations: 99.17 kB / 0.7884 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.826e-06/1.125, allocations: 7.938 kB / 0.7884 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.489e-05/1.125, allocations: 13.19 kB / 0.7884 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.985e-06/1.125, allocations: 11.25 kB / 0.7884 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.615e-06/1.126, allocations: 6.625 kB / 0.7884 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/1.127, allocations: 0.8763 MB / 0.7893 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003985/1.127, allocations: 210 kB / 0.7895 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001478/1.127, allocations: 16.48 kB / 0.7895 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005708/1.128, allocations: 36.91 kB / 0.7895 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.386e-05/1.128, allocations: 44.55 kB / 0.7896 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.299e-05/1.128, allocations: 16.88 kB / 0.7896 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006103/1.128, allocations: 0.5138 MB / 0.7901 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.6e-07/1.128, allocations: 0 / 0.7901 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008378/1.129, allocations: 200.9 kB / 0.7903 GB, free: 8.75 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.000525/1.13, allocations: 201.5 kB / 0.7905 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009107/1.131, allocations: 0.5123 MB / 0.791 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/1.131, allocations: 0.5938 kB / 0.791 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002786/1.131, allocations: 212.6 kB / 0.7912 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002131/1.133, allocations: 476.7 kB / 0.7916 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003034/1.136, allocations: 1.963 MB / 0.7936 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000757/1.137, allocations: 1.031 MB / 0.7946 GB, free: 6.828 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008979/1.138, allocations: 203.5 kB / 0.7948 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001912/1.138, allocations: 61.72 kB / 0.7948 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of SimCode: time 7.42e-07/1.138, allocations: 0 / 0.7948 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of Templates: time 0.03137/1.17, allocations: 14.97 MB / 0.8094 GB, free: 3.312 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)