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.005592/0.005593, allocations: 102.8 kB / 15.73 MB, free: 5.992 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.001347/0.001347, allocations: 193.2 kB / 16.67 MB, free: 5.914 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002106/0.002107, allocations: 284.9 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9639/0.9639, allocations: 169.3 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 91.86 kB / 0.6815 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4772/0.479, allocations: 86.98 MB / 0.7664 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.1915/0.6706, allocations: 190.5 MB / 0.9524 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4342/1.105, allocations: 5.711 MB / 0.958 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001871/1.107, allocations: 39.19 kB / 0.958 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001653/1.109, allocations: 0.5725 MB / 0.9586 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004948/1.113, allocations: 1.825 MB / 0.9604 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003167/1.117, allocations: 1.185 MB / 0.9615 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004114/1.121, allocations: 2.95 MB / 0.9644 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001551/1.122, allocations: 1.123 MB / 0.9655 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002186/1.125, allocations: 1.079 MB / 0.9665 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002155/1.127, allocations: 0.9584 MB / 0.9675 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002204/1.127, allocations: 123.8 kB / 0.9676 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003484/1.13, allocations: 1.448 MB / 0.969 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005567/1.131, allocations: 0.5689 MB / 0.9696 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008906/1.132, allocations: 0.7285 MB / 0.9703 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002803/1.135, allocations: 2.337 MB / 0.9726 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/1.135, allocations: 0 / 0.9726 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.853e-06/1.135, allocations: 1.75 kB / 0.9726 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.961e-05/1.135, allocations: 0 / 0.9726 GB, free: 1.523 MB / 0.7169 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.002362/1.137, allocations: 1.62 MB / 0.9741 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/1.137, allocations: 14.5 kB / 0.9742 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001956/1.139, allocations: 325.7 kB / 0.9745 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001291/1.14, allocations: 0.9111 MB / 0.9754 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.395e-05/1.141, allocations: 73.28 kB / 0.9754 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/1.141, allocations: 95.94 kB / 0.9755 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001678/1.142, allocations: 1.084 MB / 0.9766 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.348e-05/1.142, allocations: 1.203 kB / 0.9766 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-05/1.142, allocations: 41.19 kB / 0.9766 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.145e-05/1.143, allocations: 40.2 kB / 0.9767 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001396/1.144, allocations: 0.9948 MB / 0.9776 GB, free: 16.25 MB / 0.7325 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.005284/1.149, allocations: 4.224 MB / 0.9817 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007665/1.15, allocations: 0.5926 MB / 0.9823 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004193/1.15, allocations: 347.9 kB / 0.9827 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001887/1.151, allocations: 106.8 kB / 0.9828 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/1.151, allocations: 44.09 kB / 0.9828 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=53): time 3.346e-06/1.151, allocations: 0 / 0.9828 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of matching and sorting (n=55): time 0.003641/1.154, allocations: 2.198 MB / 0.985 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/1.154, allocations: 62.78 kB / 0.985 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009073/1.155, allocations: 0.8812 MB / 0.9859 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.454e-05/1.155, allocations: 40.8 kB / 0.9859 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003221/1.156, allocations: 0.5161 MB / 0.9864 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001727/1.156, allocations: 203.9 kB / 0.9866 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001878/1.156, allocations: 128.1 kB / 0.9867 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001244/1.156, allocations: 333.3 kB / 0.987 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004099/1.157, allocations: 286.5 kB / 0.9873 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005211/1.157, allocations: 439 kB / 0.9877 GB, free: 12.52 MB / 0.7325 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.003545/1.161, allocations: 1.74 MB / 0.9894 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/1.161, allocations: 0 / 0.9894 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001408/1.162, allocations: 0.9242 MB / 0.9903 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/1.162, allocations: 8.25 kB / 0.9904 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/1.162, allocations: 7.344 kB / 0.9904 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001919/1.162, allocations: 98.55 kB / 0.9905 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006737/1.163, allocations: 163.2 kB / 0.9906 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003512/1.167, allocations: 4.631 MB / 0.9951 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/1.168, allocations: 32.03 kB / 0.9952 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.725e-05/1.168, allocations: 30.03 kB / 0.9952 GB, free: 8.09 MB / 0.7325 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: 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.0006246/1.168, allocations: 348.7 kB / 0.9955 GB, free: 7.973 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002486/1.169, allocations: 104.5 kB / 0.9956 GB, free: 7.926 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001947/1.169, allocations: 109 kB / 0.9957 GB, free: 7.91 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/1.169, allocations: 5.906 kB / 0.9957 GB, free: 7.91 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/1.169, allocations: 0 / 0.9957 GB, free: 7.91 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009921/1.17, allocations: 0.7678 MB / 0.9965 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002838/1.173, allocations: 1.985 MB / 0.9984 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/1.173, allocations: 5.281 kB / 0.9984 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006481/1.173, allocations: 144.1 kB / 0.9986 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.889e-05/1.173, allocations: 42.62 kB / 0.9986 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.844e-05/1.174, allocations: 15.62 kB / 0.9986 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001222/1.175, allocations: 1.61 MB / 1 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/1.175, allocations: 3.344 kB / 1 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001508/1.176, allocations: 1.209 MB / 1.001 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000375/1.177, allocations: 258 kB / 1.002 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/1.177, allocations: 18.69 kB / 1.002 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000701/1.178, allocations: 33.95 kB / 1.002 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/1.178, allocations: 48.22 kB / 1.002 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.047e-05/1.178, allocations: 31.34 kB / 1.002 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007188/1.178, allocations: 0.6154 MB / 1.002 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.31e-07/1.178, allocations: 0.8125 kB / 1.002 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009109/1.179, allocations: 304.9 kB / 1.003 GB, free: 5.289 MB / 0.7325 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.0004546/1.18, allocations: 193.5 kB / 1.003 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001357/1.181, allocations: 1.013 MB / 1.004 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/1.181, allocations: 6.562 kB / 1.004 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005279/1.182, allocations: 445.6 kB / 1.004 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002703/1.184, allocations: 0.6503 MB / 1.005 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003068/1.188, allocations: 2.105 MB / 1.007 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006746/1.188, allocations: 1.166 MB / 1.008 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008157/1.189, allocations: 250.3 kB / 1.008 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/1.189, allocations: 76.61 kB / 1.008 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of SimCode: time 7.51e-07/1.189, allocations: 0 / 1.008 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of Templates: time 0.03614/1.225, allocations: 22.47 MB / 1.03 GB, free: 11.1 MB / 0.7481 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)