Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.008977/0.008977, allocations: 100.9 kB / 15.73 MB, free: 6.043 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.00159/0.00159, allocations: 195.6 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.597/1.597, allocations: 205.1 MB / 222.5 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.571/1.571, allocations: 251.7 MB / 0.5094 GB, free: 3.07 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001708, allocations: 67.91 kB / 0.7258 GB, free: 9.012 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2904, allocations: 104.7 MB / 0.8281 GB, free: 204 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.801/1.091, allocations: 221.4 MB / 1.044 GB, free: 15.26 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01034/1.102, allocations: 5.791 MB / 1.05 GB, free: 9.457 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001569/1.103, allocations: 39.75 kB / 1.05 GB, free: 9.418 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001559/1.105, allocations: 0.5902 MB / 1.051 GB, free: 8.824 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.005238/1.11, allocations: 1.902 MB / 1.052 GB, free: 6.914 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003496/1.114, allocations: 1.231 MB / 1.054 GB, free: 5.695 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.004989/1.119, allocations: 3.171 MB / 1.057 GB, free: 2.516 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002197/1.121, allocations: 1.179 MB / 1.058 GB, free: 1.32 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002995/1.124, allocations: 1.136 MB / 1.059 GB, free: 184 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002711/1.127, allocations: 0.9834 MB / 1.06 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0004691/1.127, allocations: 128 kB / 1.06 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003743/1.131, allocations: 1.454 MB / 1.061 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001085/1.132, allocations: 0.5962 MB / 1.062 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001914/1.134, allocations: 0.7545 MB / 1.063 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.005073/1.139, allocations: 2.43 MB / 1.065 GB, free: 9.824 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/1.139, allocations: 0 / 1.065 GB, free: 9.824 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.924e-06/1.139, allocations: 4 kB / 1.065 GB, free: 9.82 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.124e-05/1.139, allocations: 0 / 1.065 GB, free: 9.82 MB / 0.8106 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.004142/1.143, allocations: 1.655 MB / 1.067 GB, free: 8.109 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/1.143, allocations: 8.031 kB / 1.067 GB, free: 8.102 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002414/1.146, allocations: 338 kB / 1.067 GB, free: 7.77 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002379/1.148, allocations: 0.9097 MB / 1.068 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.396e-05/1.148, allocations: 78.02 kB / 1.068 GB, free: 6.738 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002595/1.149, allocations: 103.9 kB / 1.068 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003036/1.152, allocations: 1.108 MB / 1.069 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.624e-05/1.152, allocations: 0 / 1.069 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001842/1.152, allocations: 44 kB / 1.069 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.687e-05/1.152, allocations: 49.94 kB / 1.069 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002091/1.154, allocations: 0.9954 MB / 1.07 GB, free: 4.398 MB / 0.8106 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.008366/1.163, allocations: 4.253 MB / 1.074 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009967/1.164, allocations: 0.5898 MB / 1.075 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005256/1.164, allocations: 338.5 kB / 1.075 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002461/1.164, allocations: 105.5 kB / 1.075 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.268e-05/1.164, allocations: 47 kB / 1.076 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=53): time 4.549e-06/1.164, allocations: 0 / 1.076 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of matching and sorting (n=55): time 0.004607/1.169, allocations: 2.196 MB / 1.078 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/1.169, allocations: 55.97 kB / 1.078 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001326/1.17, allocations: 0.9008 MB / 1.079 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 9.286e-05/1.171, allocations: 37.7 kB / 1.079 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004287/1.171, allocations: 0.5224 MB / 1.079 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002129/1.171, allocations: 193.2 kB / 1.079 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000226/1.171, allocations: 138.5 kB / 1.079 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001485/1.172, allocations: 334 kB / 1.08 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005081/1.172, allocations: 281.8 kB / 1.08 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006548/1.173, allocations: 448.4 kB / 1.08 GB, free: 9.414 MB / 0.8262 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.003767/1.177, allocations: 1.673 MB / 1.082 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/1.177, allocations: 0 / 1.082 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00167/1.178, allocations: 0.9261 MB / 1.083 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/1.178, allocations: 8 kB / 1.083 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/1.178, allocations: 4 kB / 1.083 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002387/1.179, allocations: 94.52 kB / 1.083 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007517/1.179, allocations: 167.7 kB / 1.083 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003911/1.183, allocations: 4.635 MB / 1.088 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/1.184, allocations: 39.91 kB / 1.088 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.59e-05/1.184, allocations: 28.12 kB / 1.088 GB, free: 1.332 MB / 0.8262 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: 19 * 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.0007281/1.185, allocations: 360.5 kB / 1.088 GB, free: 0.9727 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003176/1.186, allocations: 102.8 kB / 1.088 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000291/1.186, allocations: 117.3 kB / 1.088 GB, free: 0.7539 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/1.186, allocations: 4 kB / 1.088 GB, free: 0.75 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/1.186, allocations: 0 / 1.088 GB, free: 0.75 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001197/1.187, allocations: 0.7614 MB / 1.089 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003989/1.191, allocations: 1.993 MB / 1.091 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/1.191, allocations: 4.406 kB / 1.091 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007264/1.192, allocations: 155.8 kB / 1.091 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001236/1.192, allocations: 36.83 kB / 1.091 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.832e-05/1.192, allocations: 23.92 kB / 1.091 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0015/1.194, allocations: 1.594 MB / 1.093 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/1.194, allocations: 11.91 kB / 1.093 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002043/1.196, allocations: 1.231 MB / 1.094 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007333/1.196, allocations: 263.9 kB / 1.094 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002201/1.197, allocations: 19.98 kB / 1.094 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009495/1.198, allocations: 43.48 kB / 1.094 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/1.198, allocations: 51.81 kB / 1.094 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001256/1.198, allocations: 31.98 kB / 1.094 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001111/1.199, allocations: 0.6245 MB / 1.095 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/1.199, allocations: 0 / 1.095 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001417/1.2, allocations: 316 kB / 1.095 GB, free: 9.219 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (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.0005534/1.201, allocations: 198.8 kB / 1.096 GB, free: 9.023 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002241/1.203, allocations: 1.006 MB / 1.097 GB, free: 7.98 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/1.203, allocations: 0 / 1.097 GB, free: 7.98 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0007543/1.204, allocations: 448.1 kB / 1.097 GB, free: 7.531 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004086/1.208, allocations: 0.6573 MB / 1.098 GB, free: 6.883 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00487/1.213, allocations: 2.14 MB / 1.1 GB, free: 4.676 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001124/1.214, allocations: 1.186 MB / 1.101 GB, free: 3.461 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001121/1.215, allocations: 252.4 kB / 1.101 GB, free: 3.211 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002903/1.216, allocations: 79.42 kB / 1.101 GB, free: 3.133 MB / 0.8419 GB Notification: Performance of SimCode: time 1.492e-06/1.216, allocations: 4 kB / 1.101 GB, free: 3.129 MB / 0.8419 GB Notification: Performance of Templates: time 0.04353/1.259, allocations: 23.19 MB / 1.124 GB, free: 12.34 MB / 0.8731 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)