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.001329/0.001329, allocations: 106.4 kB / 16.52 MB, free: 6.27 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.001319/0.001319, allocations: 197 kB / 17.44 MB, free: 5.887 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.363/1.363, allocations: 222.9 MB / 241.1 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7185/0.7185, allocations: 115.3 MB / 406.6 MB, free: 6.406 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 59.91 kB / 493.6 MB, free: 0.8477 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3972/0.3987, allocations: 76.17 MB / 0.5564 GB, free: 36.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2077/0.6065, allocations: 185 MB / 0.7371 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4221/1.029, allocations: 13.1 MB / 0.7499 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001483/1.03, allocations: 29.19 kB / 0.7499 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00151/1.032, allocations: 357.1 kB / 0.7502 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003419/1.035, allocations: 1.086 MB / 0.7513 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002108/1.037, allocations: 0.6321 MB / 0.7519 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004804/1.042, allocations: 2.771 MB / 0.7546 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001548/1.044, allocations: 0.728 MB / 0.7553 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005174/1.049, allocations: 1.659 MB / 0.757 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002311/1.051, allocations: 0.6835 MB / 0.7576 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001745/1.051, allocations: 44.28 kB / 0.7577 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002896/1.054, allocations: 0.9795 MB / 0.7586 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006411/1.055, allocations: 356 kB / 0.759 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008036/1.056, allocations: 468.9 kB / 0.7594 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001879/1.058, allocations: 1.112 MB / 0.7605 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/1.058, allocations: 1.938 kB / 0.7605 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.32e-07/1.058, allocations: 0 / 0.7605 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.831e-05/1.058, allocations: 0 / 0.7605 GB, free: 1.625 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.002491/1.06, allocations: 1.235 MB / 0.7617 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/1.06, allocations: 8.969 kB / 0.7617 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001295/1.062, allocations: 214.7 kB / 0.7619 GB, free: 16.88 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/1.063, allocations: 0.6425 MB / 0.7625 GB, free: 16.58 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.338e-05/1.063, allocations: 62.98 kB / 0.7626 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/1.063, allocations: 77.94 kB / 0.7627 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001487/1.064, allocations: 0.9254 MB / 0.7636 GB, free: 16.32 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/1.064, allocations: 8.406 kB / 0.7636 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.112e-05/1.065, allocations: 37.44 kB / 0.7636 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.331e-05/1.065, allocations: 26.97 kB / 0.7636 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/1.066, allocations: 0.6185 MB / 0.7642 GB, free: 16.3 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.005012/1.071, allocations: 4.593 MB / 0.7687 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008906/1.072, allocations: 0.546 MB / 0.7693 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003509/1.072, allocations: 242.2 kB / 0.7695 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001952/1.072, allocations: 103.6 kB / 0.7696 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001072/1.072, allocations: 38.19 kB / 0.7696 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 3.076e-06/1.072, allocations: 5.203 kB / 0.7696 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45): time 0.003151/1.075, allocations: 1.591 MB / 0.7712 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001579/1.076, allocations: 115 kB / 0.7713 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009968/1.077, allocations: 0.7162 MB / 0.772 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.77e-05/1.077, allocations: 39.67 kB / 0.772 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004451/1.077, allocations: 417.7 kB / 0.7724 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002313/1.077, allocations: 161.5 kB / 0.7726 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001879/1.078, allocations: 115.8 kB / 0.7727 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001266/1.078, allocations: 333 kB / 0.773 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003156/1.078, allocations: 188.6 kB / 0.7732 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005171/1.079, allocations: 419 kB / 0.7736 GB, free: 11.02 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.002395/1.081, allocations: 1.172 MB / 0.7747 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.912e-06/1.081, allocations: 2.688 kB / 0.7747 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001131/1.082, allocations: 0.6811 MB / 0.7754 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/1.082, allocations: 9.906 kB / 0.7754 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/1.082, allocations: 5.5 kB / 0.7754 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.894e-05/1.082, allocations: 9.625 kB / 0.7754 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004881/1.083, allocations: 123.9 kB / 0.7756 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.616e-05/1.083, allocations: 23.3 kB / 0.7756 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007325/1.083, allocations: 55.05 kB / 0.7756 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.759e-05/1.083, allocations: 26.5 kB / 0.7757 GB, free: 10.57 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.0004552/1.084, allocations: 281.8 kB / 0.7759 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001787/1.084, allocations: 81.88 kB / 0.776 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001729/1.084, allocations: 89.02 kB / 0.7761 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/1.084, allocations: 5 kB / 0.7761 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.728e-05/1.084, allocations: 5.062 kB / 0.7761 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009742/1.085, allocations: 0.6952 MB / 0.7768 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002571/1.088, allocations: 1.647 MB / 0.7784 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/1.088, allocations: 3.406 kB / 0.7784 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004182/1.088, allocations: 98.31 kB / 0.7785 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.378e-06/1.088, allocations: 9.672 kB / 0.7785 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.376e-05/1.088, allocations: 14.45 kB / 0.7785 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/1.088, allocations: 10.06 kB / 0.7785 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/1.088, allocations: 9.438 kB / 0.7785 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/1.09, allocations: 0.8656 MB / 0.7794 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003017/1.09, allocations: 210.9 kB / 0.7796 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/1.09, allocations: 17.66 kB / 0.7796 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004752/1.09, allocations: 32.8 kB / 0.7796 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.807e-05/1.091, allocations: 40.73 kB / 0.7797 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.612e-05/1.091, allocations: 23.64 kB / 0.7797 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005832/1.091, allocations: 0.5069 MB / 0.7802 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/1.091, allocations: 1.094 kB / 0.7802 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007912/1.092, allocations: 206.6 kB / 0.7804 GB, free: 8.766 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.092, allocations: 204.6 kB / 0.7806 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007362/1.093, allocations: 475.2 kB / 0.781 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/1.093, allocations: 2.719 kB / 0.781 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002527/1.094, allocations: 206.7 kB / 0.7812 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001962/1.095, allocations: 463.5 kB / 0.7817 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002751/1.098, allocations: 2.013 MB / 0.7836 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006219/1.099, allocations: 1.028 MB / 0.7846 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001853/1.099, allocations: 67.22 kB / 0.7847 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of SimCode: time 9.32e-07/1.099, allocations: 2.094 kB / 0.7847 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of Templates: time 0.02162/1.121, allocations: 12.91 MB / 0.7973 GB, free: 4.043 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)