Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006363/0.006362, allocations: 102.7 kB / 15.73 MB, free: 5.984 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.001297/0.001297, allocations: 195.2 kB / 16.67 MB, free: 5.91 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.295/1.295, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002196/0.002196, allocations: 289.1 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9118/0.9118, allocations: 169.3 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 103.8 kB / 0.6815 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4269/0.4287, allocations: 86.98 MB / 0.7664 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.1929/0.6216, allocations: 190.6 MB / 0.9525 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4106/1.032, allocations: 5.727 MB / 0.9581 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001692/1.034, allocations: 42.75 kB / 0.9581 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001895/1.036, allocations: 0.5802 MB / 0.9587 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005349/1.041, allocations: 1.839 MB / 0.9605 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003701/1.045, allocations: 1.189 MB / 0.9617 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00545/1.051, allocations: 2.948 MB / 0.9645 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001354/1.052, allocations: 0.9509 MB / 0.9655 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002057/1.054, allocations: 1.075 MB / 0.9665 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002105/1.056, allocations: 0.9129 MB / 0.9674 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002235/1.056, allocations: 109.5 kB / 0.9675 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003666/1.06, allocations: 1.426 MB / 0.9689 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004618/1.06, allocations: 471 kB / 0.9694 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007412/1.061, allocations: 0.6466 MB / 0.97 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00275/1.064, allocations: 2.143 MB / 0.9721 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/1.064, allocations: 0 / 0.9721 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.423e-06/1.064, allocations: 3.188 kB / 0.9721 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.407e-05/1.064, allocations: 4.062 kB / 0.9721 GB, free: 1.621 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002194/1.066, allocations: 1.516 MB / 0.9736 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/1.066, allocations: 6.531 kB / 0.9736 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001842/1.068, allocations: 314 kB / 0.9739 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/1.069, allocations: 0.8582 MB / 0.9747 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.544e-05/1.069, allocations: 63.66 kB / 0.9748 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/1.07, allocations: 86.5 kB / 0.9749 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/1.071, allocations: 0.9105 MB / 0.9757 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/1.071, allocations: 4.031 kB / 0.9758 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.179e-05/1.071, allocations: 34.53 kB / 0.9758 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-05/1.071, allocations: 33.41 kB / 0.9758 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/1.072, allocations: 0.8247 MB / 0.9766 GB, free: 16.39 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.004749/1.077, allocations: 3.51 MB / 0.98 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006278/1.078, allocations: 0.4981 MB / 0.9805 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003728/1.078, allocations: 294.1 kB / 0.9808 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001736/1.078, allocations: 103.5 kB / 0.9809 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.71e-05/1.078, allocations: 40.59 kB / 0.981 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=47): time 2.505e-06/1.078, allocations: 1.984 kB / 0.981 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49): time 0.003458/1.082, allocations: 1.915 MB / 0.9828 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/1.082, allocations: 60.23 kB / 0.9829 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007658/1.083, allocations: 0.8021 MB / 0.9837 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.043e-05/1.083, allocations: 44.2 kB / 0.9837 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002473/1.083, allocations: 471.6 kB / 0.9842 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/1.083, allocations: 174.7 kB / 0.9843 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001615/1.083, allocations: 114.1 kB / 0.9844 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001265/1.083, allocations: 330.5 kB / 0.9847 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003595/1.084, allocations: 245.6 kB / 0.985 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004284/1.084, allocations: 353 kB / 0.9853 GB, free: 13.28 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.003236/1.087, allocations: 1.533 MB / 0.9868 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/1.087, allocations: 4.938 kB / 0.9868 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001137/1.088, allocations: 0.7864 MB / 0.9876 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/1.089, allocations: 8.906 kB / 0.9876 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/1.089, allocations: 2.281 kB / 0.9876 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002742/1.089, allocations: 93.66 kB / 0.9877 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005988/1.089, allocations: 144.4 kB / 0.9878 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002696/1.092, allocations: 3.301 MB / 0.991 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008218/1.093, allocations: 29.55 kB / 0.9911 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.444e-05/1.093, allocations: 23.92 kB / 0.9911 GB, free: 10.25 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: 12 * 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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004461/1.093, allocations: 299 kB / 0.9914 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/1.094, allocations: 91.22 kB / 0.9915 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001644/1.094, allocations: 99.89 kB / 0.9916 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/1.094, allocations: 6.062 kB / 0.9916 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/1.094, allocations: 0.9375 kB / 0.9916 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000926/1.095, allocations: 0.8481 MB / 0.9924 GB, free: 9.613 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002583/1.097, allocations: 1.792 MB / 0.9942 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/1.097, allocations: 2.844 kB / 0.9942 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005636/1.098, allocations: 130.9 kB / 0.9943 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000206/1.098, allocations: 70.78 kB / 0.9943 GB, free: 9.188 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.835e-05/1.098, allocations: 11.88 kB / 0.9944 GB, free: 9.188 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001557/1.1, allocations: 1.789 MB / 0.9961 GB, free: 7.836 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.1, allocations: 2.938 kB / 0.9961 GB, free: 7.836 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001417/1.101, allocations: 1.073 MB / 0.9972 GB, free: 7.539 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004834/1.102, allocations: 234.5 kB / 0.9974 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/1.102, allocations: 16.89 kB / 0.9974 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007181/1.103, allocations: 31.48 kB / 0.9974 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/1.103, allocations: 45.22 kB / 0.9975 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.321e-05/1.103, allocations: 28.83 kB / 0.9975 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006728/1.103, allocations: 0.5614 MB / 0.998 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/1.103, allocations: 0.625 kB / 0.998 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009163/1.104, allocations: 278.4 kB / 0.9983 GB, free: 7.305 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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): 44 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005076/1.105, allocations: 200 kB / 0.9985 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001306/1.106, allocations: 0.803 MB / 0.9993 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/1.106, allocations: 0 / 0.9993 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005626/1.107, allocations: 411.2 kB / 0.9997 GB, free: 6.859 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002672/1.109, allocations: 0.6045 MB / 1 GB, free: 6.781 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003441/1.113, allocations: 1.805 MB / 1.002 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007688/1.114, allocations: 1.094 MB / 1.003 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008344/1.115, allocations: 211.3 kB / 1.003 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001997/1.115, allocations: 69.38 kB / 1.003 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of SimCode: time 4.71e-07/1.115, allocations: 1.203 kB / 1.003 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of Templates: time 0.03527/1.15, allocations: 21.11 MB / 1.024 GB, free: 15.67 MB / 0.7481 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)