Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009717/0.0009713, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.008644/0.008644, allocations: 173.3 kB / 16.26 MB, free: 6.613 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.338/1.338, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001733/0.001733, allocations: 259.1 kB / 291.7 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.932/0.932, allocations: 169.5 MB / 0.5004 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004502/0.0004502, allocations: 15.91 kB / 0.5987 GB, free: 28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1797, allocations: 88.55 MB / 0.6851 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.5731/0.7529, allocations: 185.7 MB / 0.8665 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01288/0.7658, allocations: 5.713 MB / 0.8721 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001878/0.7678, allocations: 35.75 kB / 0.8721 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002335/0.7701, allocations: 0.4922 MB / 0.8726 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008506/0.7787, allocations: 1.726 MB / 0.8743 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004707/0.7834, allocations: 1.067 MB / 0.8753 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.007297/0.7907, allocations: 4.103 MB / 0.8793 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001992/0.7927, allocations: 0.9255 MB / 0.8802 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002325/0.7951, allocations: 0.8655 MB / 0.8811 GB, free: 6.699 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002784/0.7979, allocations: 0.9429 MB / 0.882 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001841/0.7981, allocations: 46.34 kB / 0.8821 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004258/0.8023, allocations: 1.635 MB / 0.8837 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007554/0.8031, allocations: 498.5 kB / 0.8841 GB, free: 4.242 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001097/0.8042, allocations: 0.6508 MB / 0.8848 GB, free: 3.582 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003963/0.8082, allocations: 2.321 MB / 0.887 GB, free: 1.254 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.8082, allocations: 0 / 0.887 GB, free: 1.254 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.094e-06/0.8082, allocations: 0 / 0.887 GB, free: 1.254 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.639e-05/0.8083, allocations: 0 / 0.887 GB, free: 1.254 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.003235/0.8115, allocations: 1.375 MB / 0.8884 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/0.8116, allocations: 8.031 kB / 0.8884 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003323/0.8149, allocations: 330.2 kB / 0.8887 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002053/0.817, allocations: 0.863 MB / 0.8895 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-05/0.8171, allocations: 74 kB / 0.8896 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002239/0.8173, allocations: 99.91 kB / 0.8897 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00276/0.8201, allocations: 1.1 MB / 0.8908 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.32e-05/0.8201, allocations: 0 / 0.8908 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001541/0.8203, allocations: 44 kB / 0.8908 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.542e-05/0.8204, allocations: 49.92 kB / 0.8909 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002647/0.823, allocations: 0.9954 MB / 0.8918 GB, free: 12.22 MB / 0.6075 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.009833/0.8329, allocations: 4.262 MB / 0.896 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/0.8344, allocations: 0.6045 MB / 0.8966 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007217/0.8351, allocations: 346.5 kB / 0.8969 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002478/0.8354, allocations: 109.5 kB / 0.897 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.973e-05/0.8354, allocations: 43 kB / 0.8971 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=53): time 2.925e-06/0.8354, allocations: 0 / 0.8971 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of matching and sorting (n=55): time 0.004582/0.84, allocations: 2.236 MB / 0.8993 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.8401, allocations: 55.97 kB / 0.8993 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.8413, allocations: 0.8842 MB / 0.9002 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.686e-05/0.8413, allocations: 37.7 kB / 0.9002 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004169/0.8418, allocations: 0.5108 MB / 0.9007 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001824/0.842, allocations: 201.1 kB / 0.9009 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.8421, allocations: 61.69 kB / 0.901 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.8422, allocations: 334 kB / 0.9013 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000529/0.8428, allocations: 289.8 kB / 0.9015 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006055/0.8434, allocations: 440.9 kB / 0.902 GB, free: 1.305 MB / 0.6075 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.004395/0.8478, allocations: 1.768 MB / 0.9037 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.8478, allocations: 7.938 kB / 0.9037 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001671/0.8495, allocations: 0.9417 MB / 0.9046 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.8495, allocations: 4 kB / 0.9046 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.8495, allocations: 4 kB / 0.9046 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002071/0.8497, allocations: 102.4 kB / 0.9047 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007643/0.8505, allocations: 171.8 kB / 0.9049 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003756/0.8543, allocations: 4.289 MB / 0.9091 GB, free: 9.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/0.8554, allocations: 75.95 kB / 0.9092 GB, free: 9.445 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.975e-05/0.8555, allocations: 28 kB / 0.9092 GB, free: 9.418 MB / 0.6231 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006873/0.8562, allocations: 346.2 kB / 0.9095 GB, free: 9.07 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/0.8564, allocations: 102.8 kB / 0.9096 GB, free: 8.969 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002224/0.8566, allocations: 109.2 kB / 0.9097 GB, free: 8.855 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.8566, allocations: 4 kB / 0.9097 GB, free: 8.852 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/0.8566, allocations: 3.938 kB / 0.9097 GB, free: 8.848 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001139/0.8578, allocations: 0.777 MB / 0.9105 GB, free: 8.012 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003283/0.8611, allocations: 2.003 MB / 0.9124 GB, free: 5.906 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.8611, allocations: 4 kB / 0.9124 GB, free: 5.902 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006899/0.8618, allocations: 152.2 kB / 0.9126 GB, free: 5.754 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001119/0.8619, allocations: 40.83 kB / 0.9126 GB, free: 5.711 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.079e-05/0.862, allocations: 16 kB / 0.9126 GB, free: 5.695 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001416/0.8634, allocations: 1.5 MB / 0.9141 GB, free: 4.066 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.8634, allocations: 4 kB / 0.9141 GB, free: 4.062 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001991/0.8654, allocations: 1.222 MB / 0.9153 GB, free: 2.785 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005232/0.8659, allocations: 259.8 kB / 0.9155 GB, free: 2.512 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.8661, allocations: 12 kB / 0.9156 GB, free: 2.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008267/0.8669, allocations: 69.05 kB / 0.9156 GB, free: 2.434 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/0.867, allocations: 55.81 kB / 0.9157 GB, free: 2.379 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.075e-05/0.8671, allocations: 31.98 kB / 0.9157 GB, free: 2.348 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008508/0.868, allocations: 0.6083 MB / 0.9163 GB, free: 1.746 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2e-07/0.868, allocations: 0 / 0.9163 GB, free: 1.746 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001038/0.869, allocations: 312 kB / 0.9166 GB, free: 1.441 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005112/0.8696, allocations: 202.2 kB / 0.9168 GB, free: 1.246 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001703/0.8713, allocations: 1.003 MB / 0.9178 GB, free: 208 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/0.8713, allocations: 4 kB / 0.9178 GB, free: 204 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006831/0.872, allocations: 459.8 kB / 0.9182 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003266/0.8753, allocations: 0.6266 MB / 0.9188 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003691/0.879, allocations: 2.607 MB / 0.9214 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000781/0.8798, allocations: 1.174 MB / 0.9225 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009766/0.8807, allocations: 244.4 kB / 0.9228 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002035/0.881, allocations: 75.42 kB / 0.9228 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of SimCode: time 7.41e-07/0.881, allocations: 0 / 0.9228 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of Templates: time 0.03417/0.9151, allocations: 21.2 MB / 0.9435 GB, free: 6.078 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)