Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7663/0.7663, allocations: 128.7 MB / 144.5 MB, free: 1.371 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001098/0.001098, allocations: 193.9 kB / 174.3 MB, free: 5.906 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.362/1.362, allocations: 205 MB / 408.9 MB, free: 9.668 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001263/0.001263, allocations: 113.9 kB / 485.1 MB, free: 13.55 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00104/0.001041, allocations: 59.84 kB / 0.558 GB, free: 97.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1303, allocations: 75.48 MB / 0.6317 GB, free: 33.03 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.4712/0.6015, allocations: 193.2 MB / 0.8204 GB, free: 9.441 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.009266/0.6108, allocations: 5.858 MB / 0.8261 GB, free: 8.066 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00191/0.6128, allocations: 38.66 kB / 0.8261 GB, free: 8.051 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001482/0.6143, allocations: 0.5125 MB / 0.8266 GB, free: 7.68 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.00447/0.6188, allocations: 1.787 MB / 0.8284 GB, free: 6.59 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.002683/0.6215, allocations: 1.111 MB / 0.8294 GB, free: 5.891 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.005111/0.6266, allocations: 4.457 MB / 0.8338 GB, free: 3.625 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001373/0.628, allocations: 1.016 MB / 0.8348 GB, free: 3.039 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001687/0.6297, allocations: 0.9962 MB / 0.8358 GB, free: 2.578 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001835/0.6315, allocations: 1.035 MB / 0.8368 GB, free: 2.086 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001532/0.6317, allocations: 62.88 kB / 0.8368 GB, free: 2.086 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002537/0.6342, allocations: 1.386 MB / 0.8382 GB, free: 1.457 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0005323/0.6348, allocations: 0.5363 MB / 0.8387 GB, free: 1.129 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0007769/0.6355, allocations: 0.6737 MB / 0.8394 GB, free: 0.7344 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.002764/0.6383, allocations: 2.456 MB / 0.8418 GB, free: 15.22 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.6383, allocations: 4 kB / 0.8418 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.062e-06/0.6383, allocations: 0 / 0.8418 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.026e-05/0.6384, allocations: 0 / 0.8418 GB, free: 15.21 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.002703/0.6411, allocations: 1.636 MB / 0.8434 GB, free: 14.01 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.6411, allocations: 14.3 kB / 0.8434 GB, free: 14.01 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001643/0.6428, allocations: 309.9 kB / 0.8437 GB, free: 13.87 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001412/0.6442, allocations: 0.8679 MB / 0.8445 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.695e-05/0.6443, allocations: 76.48 kB / 0.8446 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.6444, allocations: 97.28 kB / 0.8447 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001711/0.6461, allocations: 1.115 MB / 0.8458 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/0.6462, allocations: 3.938 kB / 0.8458 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.975e-05/0.6463, allocations: 46.03 kB / 0.8458 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.686e-05/0.6463, allocations: 42 kB / 0.8459 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001554/0.6479, allocations: 0.9955 MB / 0.8468 GB, free: 11.41 MB / 0.5417 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.005676/0.6536, allocations: 4.249 MB / 0.851 GB, free: 6.902 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008687/0.6545, allocations: 0.5964 MB / 0.8516 GB, free: 6.297 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004604/0.6549, allocations: 330 kB / 0.8519 GB, free: 5.973 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002258/0.6552, allocations: 103.7 kB / 0.852 GB, free: 5.852 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.6552, allocations: 47 kB / 0.852 GB, free: 5.797 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=52): time 3.116e-06/0.6552, allocations: 4 kB / 0.852 GB, free: 5.793 MB / 0.5417 GB Notification: Performance of matching and sorting (n=54): time 0.003957/0.6592, allocations: 2.163 MB / 0.8541 GB, free: 3.516 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.6592, allocations: 55.84 kB / 0.8542 GB, free: 3.449 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.6603, allocations: 0.9047 MB / 0.8551 GB, free: 2.52 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.143e-05/0.6604, allocations: 41.7 kB / 0.8551 GB, free: 2.473 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003392/0.6607, allocations: 0.5166 MB / 0.8556 GB, free: 1.949 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.000147/0.6609, allocations: 200.4 kB / 0.8558 GB, free: 1.754 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001945/0.6611, allocations: 130.5 kB / 0.8559 GB, free: 1.621 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.6612, allocations: 330 kB / 0.8563 GB, free: 1.293 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004473/0.6617, allocations: 273.5 kB / 0.8565 GB, free: 1.023 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005463/0.6622, allocations: 437.4 kB / 0.8569 GB, free: 0.5312 MB / 0.5417 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.003379/0.6656, allocations: 1.646 MB / 0.8585 GB, free: 14.81 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.6656, allocations: 4 kB / 0.8585 GB, free: 14.8 MB / 0.5573 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00138/0.667, allocations: 0.9024 MB / 0.8594 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.6671, allocations: 4 kB / 0.8594 GB, free: 13.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.6671, allocations: 4 kB / 0.8594 GB, free: 13.88 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002019/0.6673, allocations: 98.86 kB / 0.8595 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006717/0.668, allocations: 171.7 kB / 0.8597 GB, free: 13.61 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003118/0.6711, allocations: 4.28 MB / 0.8639 GB, free: 8.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009023/0.672, allocations: 71.89 kB / 0.8639 GB, free: 8.859 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.539e-05/0.6721, allocations: 24 kB / 0.864 GB, free: 8.836 MB / 0.5573 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (78): * Single equations (assignments): 75 * 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.0005271/0.6726, allocations: 368.3 kB / 0.8643 GB, free: 8.469 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001522/0.6728, allocations: 102.8 kB / 0.8644 GB, free: 8.367 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001942/0.673, allocations: 109.4 kB / 0.8645 GB, free: 8.25 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.673, allocations: 8 kB / 0.8645 GB, free: 8.242 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.673, allocations: 0 / 0.8645 GB, free: 8.242 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009798/0.674, allocations: 0.7506 MB / 0.8653 GB, free: 7.438 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002997/0.677, allocations: 1.939 MB / 0.8671 GB, free: 5.414 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.677, allocations: 4 kB / 0.8672 GB, free: 5.41 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006333/0.6776, allocations: 152.2 kB / 0.8673 GB, free: 5.262 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.954e-05/0.6777, allocations: 36.84 kB / 0.8673 GB, free: 5.223 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.888e-05/0.6778, allocations: 19.98 kB / 0.8674 GB, free: 5.203 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00108/0.6789, allocations: 1.483 MB / 0.8688 GB, free: 3.59 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.6789, allocations: 7.938 kB / 0.8688 GB, free: 3.582 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006212/0.6851, allocations: 4.511 MB / 0.8732 GB, free: 14.9 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004589/0.6856, allocations: 263.9 kB / 0.8735 GB, free: 14.62 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.6857, allocations: 16 kB / 0.8735 GB, free: 14.61 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007516/0.6865, allocations: 80.02 kB / 0.8736 GB, free: 14.53 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/0.6866, allocations: 51.8 kB / 0.8736 GB, free: 14.48 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.979e-05/0.6867, allocations: 31.98 kB / 0.8736 GB, free: 14.45 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.000862/0.6876, allocations: 0.6284 MB / 0.8742 GB, free: 13.8 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6876, allocations: 0 / 0.8742 GB, free: 13.8 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001242/0.6888, allocations: 432 kB / 0.8747 GB, free: 13.38 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],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 (52): * Single equations (assignments): 51 * 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.0004109/0.6892, allocations: 178.2 kB / 0.8748 GB, free: 13.21 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001346/0.6906, allocations: 0.9789 MB / 0.8758 GB, free: 12.19 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.6906, allocations: 4 kB / 0.8758 GB, free: 12.18 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005852/0.6912, allocations: 438.8 kB / 0.8762 GB, free: 11.74 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00276/0.694, allocations: 0.641 MB / 0.8768 GB, free: 11.11 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003878/0.6979, allocations: 2.919 MB / 0.8797 GB, free: 8.125 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009163/0.6988, allocations: 1.208 MB / 0.8809 GB, free: 6.883 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001197/0.7, allocations: 256.5 kB / 0.8811 GB, free: 6.629 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002116/0.7002, allocations: 75.42 kB / 0.8812 GB, free: 6.555 MB / 0.573 GB Notification: Performance of SimCode: time 3.41e-07/0.7002, allocations: 4 kB / 0.8812 GB, free: 6.551 MB / 0.573 GB Notification: Performance of Templates: time 0.03613/0.7364, allocations: 23.18 MB / 0.9038 GB, free: 15.68 MB / 0.6042 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)